Page 1 of 1

Replacing a narrow range of hues with a different one

Posted: June 3rd, 2024, 2:34 pm
by tomczak
There are two similar flashlights: one magenta with a black middle section and one steel bluish. I want to recolour the magenta (but not black) to see how it would look in the steel-blue version. Looks like I'm getting rusty because I can't do it cleanly. Could someone point me in the right direction?

Re: Replacing a narrow range of hues with a different one

Posted: June 3rd, 2024, 5:20 pm
by jsachs
I had the best results with Selective Color Correction - could be cleaned up a little but you should get the idea:
scc v1.jpg
scc v1.jpg (53.91 KiB) Viewed 1646 times
scc result.jpg
scc result.jpg (70.3 KiB) Viewed 1646 times
I also tried Color Curves and did a hue shift to magenta and darkened the image.

Using a mask for the flashlight would make it easier to adjust since you could alter the brightness and shift all the hues and only the masked area would be affected.

Re: Replacing a narrow range of hues with a different one

Posted: June 4th, 2024, 5:33 am
by tomczak
Cheers for that. I used the Selective Colour Correction with just one vector and with the right weight it can capture most of the colour to correct and then darken it too. I wonder why I was spectacularly unsuccessful with Remap? I also found that matching, even approximately, the target colour is a challenge. I tried using Palette tool and guess the position of the hue/saturation on the colour wheel but found it quite hard.

Re: Replacing a narrow range of hues with a different one

Posted: June 4th, 2024, 11:40 am
by jsachs
Remap is specific to a particular RGB color while Selective Color Correction is specific to a hue/saturation combination, ignoring brightness.

The Hue-Saturation transformation works even better:
HueSat v1.jpg
HueSat v1.jpg (109.48 KiB) Viewed 1625 times

Re: Replacing a narrow range of hues with a different one

Posted: June 4th, 2024, 9:44 pm
by pierrelabreche
One method is to work with hue curves :

For magenta to blue :
Wurkkos blue 2.jpg.script
(4.5 KiB) Downloaded 178 times
Image

Similar for blue to magenta :
Image