Skip to main content
Known Participant
May 10, 2020
Question

Converting ProPhoto RGB to sRGB changes color hex codes

  • May 10, 2020
  • 3 replies
  • 3887 views

I originally meant to keep this post as it is, but for some reason adobe automatically selected a incorrect answer as correct & won't let me change which answer is marked as supposedly correct...
NICE GOING ADOBE

Also, a lot of ppl commenting clearly not knowing what they are talking about and having never tested this actually is kinda annoying. I thought this is a professional community? Please don't and pretend to know life if you have no idea what you are on about... thanks.
Hello, I ran into a issue with my current project where I work in ProPhoto RGB 16bpc and convert this to sRGB for web use.

Now the website has a set background color of #f0f0f0, the images transition to it to make them appear seamless so in my Photoshop workspace they are #f0f0f0 correctly.

Now If I convert them with whatever settings to sRGB, their background changes to #f3f3f3.

I sadly can't find a conversion setting either which keeps the correct hex value.
Does anyone know how to get this to match?



Thanks for your time and help!

This topic has been closed for replies.

3 replies

NB, colourmanagement
Community Expert
Community Expert
May 11, 2020

Hi

Can you explain please, why would you work in ProPhoto on a file destined for web?

converting a filke to another colour space always changes the colour definitions. That’s intended.

Why not work in sRGB throughout and add your hex colours, that’s all you need to do.

 

I hope this helps

if so, please "like" my reply

neil barstow, colourmanagement.net :: adobe forum volunteer

[please do not use the reply button on a message in the thread, only use the one at the top of the page, to maintain chronological order]

Legend
May 10, 2020

Of course it does. If the value were the same it wouldn't be a conversion. This is expected, so you need to retrain so you expect it too...

D Fosse
Community Expert
Community Expert
May 10, 2020

Yes, and it's supposed to. This what a color space is and what it does.

 

Numbers are color space specific, whether hex or RGB. The numbers are remapped/recalculated when converted from one color space to another, in order to maintain the same color appearance. That's the key, those five words.

 

If you assign a different profile but keep the same numbers, the color will change. It's a different color space with entirely different coordinates.

 

All this is no big deal as long as you only work in sRGB. Without color management that's what you have to do. The instant you start working with other color spaces, you need full color management. And then you learn that numbers are relative.