Jump to content

Recommended Posts

Posted

Hi there, I am really a bit at a loss. I have been looking for a simple way to change the white color of a single layer (pixel) to an off white. I have looked through multiple tutorials but none are quite as relevant as simply just changing a singular color of a two tone image.

In the attached image (a small screenshot of a larger illustration), I am working on trying to turn all the white (FFFFFF) space to a slightly off white color (EAE7DD). I have tried using a New Adjustment Layer but that brings up a slider panel of colors/saturation settings that does not allow me to dial in the exact RGB color code I am aiming for.

Forgive me if this is a silly question or something very simple to solve- I have tried looking through the forum and googling this topic to no success. I  am a bit of a loss on how to most effectively achieve this in Affinity Photo 2 for the Desktop. Any help or reference would be greatly appreciated

 

Screenshot 2025-04-22 at 8.24.14 PM.png

Posted

A possible way:

  1. Use layer FX, color overlay
  2. set the blend mode to darker color
  3. Set the color panel mode to hex slider
  4. enter your color code 

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Hi @wzrd and welcome to the forums,

Another possible option is to use the Flood Selection Tool if you're happy to fill a couple of tiny gaps in the black outline with the paintbrush (the right back leg and the left ear).

  1. Set your colour to #EAE7DD in the RGB Hex colour panel
  2. Use the Flood Selection Tool to fill the white areas

Affinity Designer 2.6.3 | Affinity Photo 2.6.3 | Affinity Publisher 2.6.3
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted

Another option might be to clip a Rectangle (or whichever shape fits best) to the Pixel layer and use a Multiply Blend Mode on the Rectangle – see attached video.

I can’t guarantee that the colour will remain exactly the same but it might be close enough for what’s needed.

Posted
3 minutes ago, GarryP said:

I can’t guarantee that the colour will remain exactly the same but it might be close enough for what’s needed.

‘Multiply’ blend mode will yield exactly the same colours wherever the pixels in the Pixel layer are pure white.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Posted

That’s what I thought it should do but I found something interesting.

It seems that the colour in the Colour Well in the Colour Panel (where I was looking for comparison to the multiplied colour) isn’t showing the colour exactly as it should be, or the Colour Picker isn’t picking up the RGB values properly from the Colour Well, or the Colour Picker isn’t reporting the RGB values properly, or there’s something else going on – see attached video (with RGB/8 document).

So I’m not entirely sure which colour values I should trusting.

Posted

Hmm, that is rather (too) interesting!

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Posted

I’m getting a touch of déjà vu about this and seem to remember a thread which mentioned it a long while ago but I can’t be sure, and can’t think of search keywords which might help me to find it, if it actually exists. (I tried colour well rgb value but didn’t see anything relevant.)

Posted
40 minutes ago, Alfred said:

pixels in the Pixel layer are pure white.

The source file contains lots of grey pixels where the black pen stroke got aliased.

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
8 minutes ago, NotMyFault said:

The source file contains lots of grey pixels where the black pen stroke got aliased.

Do we know that, or is it just how it looks from the image which the forum software is showing us?

(The OP said that they were “changing a singular color of a two tone image” - (my emphasis) - but I don’t think we can know for sure what they mean by that or whether it matches what’s in the actual image.)

Posted
33 minutes ago, GarryP said:

Do we know that, or is it just how it looks from the image which the forum software is showing us?

The screenshot, imported into Photo and masked to the main object, shows quite the usual histogram what you get using black medium-soft brush on white canvas.

it is not showing nearest neighbor hard edges and binary / monotone pur black or white.

i used a whole integer aligned rectangle to rule out any AA by masking. The shades are inside the image,

 

IMG_2700.png

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

For comparison, some vector lines using AA off, screenshot at odd zoom level of 347 %, it shows far less AA (all due to zoom) and cleaner histogram

 

IMG_2704.png

IMG_2703.png

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
1 hour ago, NotMyFault said:

The shades are inside the image,

It looked like they probably were, I just thought it was worth considering whether they actually were or not.

As I’m sure you’re aware, but for anyone else reading this, the forum software can sometimes do odd things to some images.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.