Highlighted

Replace Color - Keeps changing to wrong color

Explorer ,
May 25, 2020

Copy link to clipboard

Copied

I am using the Enhance > Adjust Color > Replace Color feature to try and change areas of one color to another.  The color replacement in itself is working, my issue is that the replacement color I specify isn't exactly what the program changes it to.  For example, I select an area of an orangy red with HSB values of 14,57,73 and want to replace it with a darkish red with HSB values of 357,67,55.  However, after using Replace Color, when I check the color that now appears in my image it has HSB values of 357,60,63 which is NOT what I requested.

 

It is important that I be able to specify the exact replacement colour and so this difference, while small, is not acceptable in my case.  There are other colour replacements that I've been trying and they are as bad, and in some cases much worse, than what I have specified.

 

Why is Photoshop Elements not honoring the exact HSB values that I input?

 

BTW, the image is in RGB format and I have also tried disabling color management and the color profile but this made no difference.

Adobe Community Professional
Correct answer by Jeff Arola | Adobe Community Professional

Replace Color is not a precise tool for specifying exact colors, but is perfectly good if just want to replace

a color with another shade and don't need exact colors.

 

One way to approach your task would be to use the Magic Wand Tool and then a Color Fill Adjustment

layer for each color your replacing.

 

For example, replacing the HSB values of 14,57,73 with HSB values of 357,67,55 could be done in the

following manner:

 

1. Select the Magic Wand Tool and uncheck Anti Aliasing and Contiguous using the default Tolerance of 32

 

2. Click on one of the Orange Squares and that should select that color in the whole image

 

colora.png

 

 

 

3. Go to Layer>New Fill Layer>Solid Color and set your HSB values of 357,67,55

 

Repeat for each groups of objects of the same color

 

colorb.png

 

 

 

 

 

Full map

 

mapfull.png

 

 

TOPICS
Problem or error

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Replace Color - Keeps changing to wrong color

Explorer ,
May 25, 2020

Copy link to clipboard

Copied

I am using the Enhance > Adjust Color > Replace Color feature to try and change areas of one color to another.  The color replacement in itself is working, my issue is that the replacement color I specify isn't exactly what the program changes it to.  For example, I select an area of an orangy red with HSB values of 14,57,73 and want to replace it with a darkish red with HSB values of 357,67,55.  However, after using Replace Color, when I check the color that now appears in my image it has HSB values of 357,60,63 which is NOT what I requested.

 

It is important that I be able to specify the exact replacement colour and so this difference, while small, is not acceptable in my case.  There are other colour replacements that I've been trying and they are as bad, and in some cases much worse, than what I have specified.

 

Why is Photoshop Elements not honoring the exact HSB values that I input?

 

BTW, the image is in RGB format and I have also tried disabling color management and the color profile but this made no difference.

Adobe Community Professional
Correct answer by Jeff Arola | Adobe Community Professional

Replace Color is not a precise tool for specifying exact colors, but is perfectly good if just want to replace

a color with another shade and don't need exact colors.

 

One way to approach your task would be to use the Magic Wand Tool and then a Color Fill Adjustment

layer for each color your replacing.

 

For example, replacing the HSB values of 14,57,73 with HSB values of 357,67,55 could be done in the

following manner:

 

1. Select the Magic Wand Tool and uncheck Anti Aliasing and Contiguous using the default Tolerance of 32

 

2. Click on one of the Orange Squares and that should select that color in the whole image

 

colora.png

 

 

 

3. Go to Layer>New Fill Layer>Solid Color and set your HSB values of 357,67,55

 

Repeat for each groups of objects of the same color

 

colorb.png

 

 

 

 

 

Full map

 

mapfull.png

 

 

TOPICS
Problem or error

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 25, 2020 0
Adobe Community Professional ,
May 25, 2020

Copy link to clipboard

Copied

Is your monitor a calibrated reference monitor?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 25, 2020 0
Explorer ,
May 26, 2020

Copy link to clipboard

Copied

No it isn't.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 26, 2020 0
Adobe Community Professional ,
May 25, 2020

Copy link to clipboard

Copied

Does it make any difference if you change the fuzziness level (perhaps to 0?)?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 25, 2020 0
Explorer ,
May 26, 2020

Copy link to clipboard

Copied

I already had the fuzziness set to zero as it's a pixelated image with hard edges that I'm working with.  The area selection is working fine, it's the colour replacement accuracy that isn't,

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 26, 2020 0
LEGEND ,
May 26, 2020

Copy link to clipboard

Copied

You should be able to entre a hexadecimal value when clicking on result. But it will be affected by the underlying color in the original and you may need to continue clicking with the plus and minus picker tools to adjust the making.

 

Another method is to make a precise selection and use the gradient map. I have a YouTube video which may be helpful.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 26, 2020 0
Explorer ,
May 26, 2020

Copy link to clipboard

Copied

Thank Jon, nice video but unfortunately this is impractical in my case.  My image has hundreds of locations that I wish to replace the colour and so manually selcting them is just way too time consuming.  The Color Replace tool does do a great job of selcting all of these areas in one go when I set the fuzziness to zero.  I just wish I could get the accuracy of the replacement colour to stick.

 

When I use the Colour Replace tool I use the dropper on part of my image to select the colour I want to replace.  All of the hundreds of areas I'm replacing have exactly the same single colour.  Attached is a small section of the overall image by way of example.

 

Map.png

When selecting the replacement colour I click on the replacement colour swatch and type in the hexadecimal value.  But when I go back to my image and check an area where the colour has been replaced the hexadecimal value is different to that which I entered.  Why is this?

 

You mention that it will be affected by the underlying colour in the original and that I can use the plus and minus picker tools to adjuts.  I'm confused by this - could you perhaps please explain in a bit more detail.

 

Thanks for your help.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 26, 2020 0
LEGEND ,
May 26, 2020

Copy link to clipboard

Copied

It’s quite a complex pattern. You may need to do it in a few sweeps e.g. adjust the first color range and click OK. Then press ctrl+j to create a duplicate layer for each other area and go to the enhance menu again. Using the plus/minus pickers should enable you to click different areas of the image to change the mask. Any black areas will not be affected by the final color only the white areas shown on the mask will change.

Map.jpg

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 26, 2020 0
Explorer ,
May 26, 2020

Copy link to clipboard

Copied

It's not the mask that I'm having problems with.  In fact the mask seems to be working fine, selecting all of the same colour areas that I want to change despite the complexity of the mask required.  My problem is that when I set the replacement colour to a specific hex value and then check the resulting image, the replaced colour is a bit different to what I set, i.e. the hex value is different.  Why does it not set the replacement colour to exactly what I specify?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 26, 2020 0
LEGEND ,
May 26, 2020

Copy link to clipboard

Copied

I’m not sure why the hex value is not sticking. Unless you are re-clicking parts of the image that have not blended completely which then changes the target color previously set. And that’s the point. It’s not a painting tool. It will take account of the original color and luminosity.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 26, 2020 0
Explorer ,
May 26, 2020

Copy link to clipboard

Copied

I've created a video showing exactly what I'm doing so you can easily tell me if I'm doing something wrong or if there is indeed an issue with the program.  I'd be most grateful if you could take a look at the video and let me know.  Thanks.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 26, 2020 0