user854301
user854301

Reputation: 5493

Is it possible to change somehow color profile in css

I wonder, is it possible to change somehow color profile in css for the site. As I understand by default standard browser leverage sRGB color profile.

But how I could change it to another one (e.g. profile to Adobe RGB (1998)).

PS The goal is - slice correctly psd to html and css. PSD uses Adobe RGB (1998), so if I use same colors values on the site they are different from original colors from psd.

Upvotes: 1

Views: 715

Answers (3)

Nitesh
Nitesh

Reputation: 15749

The best way would be to use the eyedropper tool in photoshop and take the RGB or hex values of the color that you want to select. Under the CSS, just paste that color code that you want. Thats it.

If you have the psd document as sRGB or adobe RGB, you will get the color that you want and get the color profile from your psd itself.

Upvotes: 1

matpol
matpol

Reputation: 3074

not sure you should be worrying about this: https://photo.stackexchange.com/questions/12557/whats-the-difference-between-adobe-rgb-and-srgb-and-which-should-i-set-in-my-ca

"sRGB is best for images view on screen, Adobe RGB is best for printing."

Upvotes: 2

keaukraine
keaukraine

Reputation: 5364

CSS has no means of adjusting color profiles. You have to convert color profiles in Photoshop and use sRGB.

Upvotes: 4

Related Questions