D
D
Dark Hole2016-02-15 21:49:50
css
Dark Hole, 2016-02-15 21:49:50

Color Distortion in Chrome(CSS). Why and how to remove?

So, friends.
I'm making a website and by default I'm browsing in Edge. Everything is good, except that the browser is extremely new and features like the need to use -webkit-filter- are not in it.
However, back to the site. Everything seems to be OK ... until I looked at it from Chrome. There, "unobtrusively blue" became for some reason "unobtrusively purple".
The funny thing is that in order to achieve the result, I used the same scheme for coloring everywhere:
background: rgb(x, x, 255) либо rgba(x, x, 255, 1)
where x is always the same number.
The question is simple: where did I miscalculate, how to fix it and why does this occur?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Growth Osipov, 2016-02-16
@RostOsipov

For a long time I noticed such a jamb in Chrome. And it's not just in CSS.
The problem lies in Color Management and color profiles. Try changing your working color space from sRGB to Adobe RGB.
I found an algorithm, but I don’t know what conclusions to draw from this): If you process an image in Adobe RGB space in Photoshop and save it for the web without converting it to sRGB, you get an image that looks as it was intended in all browsers except Chrome - there it is faded. If, however, when saving to the web, convert to sRGB - the picture looks overcolored everywhere, except for Chrome - there it looks exactly like the first picture in all browsers where there was no conversion to sRGB.
Seems like a known issue and they are working on it. )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question