Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

So, I'm aware that some browsers correct the colors in images in accordance with system settings, and that browsers differ in how they do this. But I'm very surprised when a color specified in a stylesheet appears different from one browser to another on the same system.

With the latest Safari and Firefox, if I draw a div with background: #885500, I get a box with that color (as confirmed by the native DigitalColor Meter app):

Chrome screenshot

But when I load the same page in Chrome (Mac version 12.0.742.91) on the same system, a MacBook Pro with the default "Color LCD" display profile set, I get a noticeably different-colored box (DigitalColor Meter reports #a34d00—much more red, a bit less green):

Safari screenshot

I tried a few different color profiles, and found that the color reported by DigitalColor Meter changed under Chrome. It stays constant in Safari.

What's going on? Is it that Chrome is adjusting its colors depending on the system's display profile, or is it that Safari and Firefox are doing so? Does this happen under other operating systems, or is it purely a Mac phenomenon? And is there any way, from CSS/JavaScript, to detect/prevent this behavior so that colors are consistent across modern browsers on the same system?

share|improve this question

migrated from stackoverflow.com Jun 14 '11 at 6:23

This question came from our site for professional and enthusiast programmers.

1  
+1 interesting question. –  alex Jun 14 '11 at 1:09
1  
Not sure why this was migrated... this question is about web development, not ops. –  Trevor Burnham Jun 14 '11 at 19:18

1 Answer 1

up vote 6 down vote accepted

This is a known issue. Please see Chromium issue #44872.

share|improve this answer
    
Ugh, and it's been open for more than a year? Well, thanks for the prompt answer. Good to know that this is a bug in Chrome, as I suspected, and I hope this will be fixed soon-ish. Scary that the browser of choice among web developers is displaying their colors incorrectly... –  Trevor Burnham Jun 14 '11 at 1:13
    
There are also several issues with Chrome and ICC-tagged images. Firefox 4 also regressed in color-management in some areas on OS X. –  Andrew Marshall Jun 14 '11 at 1:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.