Skip to main content
Participating Frequently
January 21, 2022
質問

Struggling with a simple background color change from ffffff to efefef - can anybody help?

  • January 21, 2022
  • 返信数 1.
  • 2553 ビュー

Struggling with a simple background color change from ffffff to efefef - can anybody help?

 

Path: With image in photoshop, I click in the top bar 'Image -> Adjustments -> Replace Color -> then click on the background -> then click the 'Result' color square -> Enter EFEFEF in the # -> Click OK'

But then I go to check the background color and it changed it from pure white (ffffff) to (f0f0f0), which is incredibly frustrating because I'm trying to get it to 'efefef' which is literally like 1 shade of a difference

(very close)

 

For the type of work I'm doing its important to move fast/efficiently, so I don't have time to select individual parts or anything like that if all I'm trying to do is simply change the background to a slightly darker shade of white (again, from ffffff to efefef to match website background perfectly) & without removing the natural shadow..

 

You would think this 'Replace Color' option would do the trick if it can take it to f0f0f0, so I'm thinking that I'm probably just missing something very simple

 

I provided the image with the background in ffffff and also in f0f0f0 if you would like to take on the challenge! Lol, I'm sure there's experts in here that could figure this out in seconds...


Please let me know asap, thank you in advance! 

 

このトピックへの返信は締め切られました。

返信数 1

davescm
Community Expert
Community Expert
January 21, 2022

Add a curve adjustment layer and, in properties, drag down the top right point until it reads Input 255 Output 239

 

Explanation FFFFFF is RGB 255,255,255 and EFEFEF is RGB 239,239,239

 

 

Incidentally your image is untagged which means colour values are meaningless. I assigned sRGB on opening it but I would advise not working with untagged images if colour matters to you.

 

Note : If you see a small color change after saving as jpeg, that can result from the lossy jpeg compression process.

Dave

Editor 1234作成者
Participating Frequently
January 21, 2022

Thank you Dave! I'm currently reading your reply and trying to understand it (I'm a beginner lol)

 

Will keep you posted if I figure it out

davescm
Community Expert
Community Expert
January 21, 2022

That's the trouble with a forum, we can never tell quite how much the person asking a question knows. 🙂

 

So a bit more explanation. There is nothing magic about Hex codes. They are just RGB numbers expressed in base 16 which counts from from 0 to F rather than 0 to 9 in decimal.

 

If you add a curves adjustment layer and look in the properties panel, you will see a straight line with a point at each end. just drag the top right point straight down while watching the numbers underneath until they read as shown.

 

That will take everything that was FFFFFF and convert it to EFEFEF. It will also scale the other values to keep them proportionate.

 

My comment on "untagged" refers to colour management. The RGB values in an image document are meaningless on their own. They only represent particular colours when expressed in relation to a description of the colour space used in the document. So for example RGB 5, 35,118 is a different colour in sRGB and in Adobe RGB. It is normal to embed the profile in the document on saving so that the application that opens it knows what the values mean. If there is no profile embedded (i.e the document is "untagged") then the person or application opening the document is left guessing.

 

Dave