Why is the actual color displayed different from the hex color in the inspector (in Chrome)?

Sometimes Chrome will draw a specific div using the wrong color for a second or two while the rest of the page is displayed. The color then (very noticeably) changes to the correct value.

If I stop loading (hit Esc) early enough, I can get the wrong color to stick with, but the inspector lies about its hex value, showing the (correct) hex color from css. The ColorPicker system displays the actual value. This color does not seem to be mentioned anywhere in the source.

This is in Chrome 22.0.1229.79 beta on OS X with an external monitor (unclear if played without it). I understand that profiles associated with third-party monitors can significantly affect the color presentation, but the hexadecimal values ​​must remain unchanged, no?

wrong color

+4
source share

Source: https://habr.com/ru/post/1436677/


All Articles