Chrome呈现与Safari和Firefox不同的颜色

Chrome呈现与Safari和Firefox不同的颜色

本文介绍了Chrome呈现与Safari和Firefox不同的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Chrome出于某种原因将#FF3A00渲染为#FF0000。我包含了


Chrome renders #FF3A00 as #FF0000 for some reason. I included a screenshot from jsfiddle to illustrate the point. The colour that the Color Meter reports (and what I see) differs from what CSS says.

This happens to other colours too. For example, #FFAF00 is rendered as #FFA400 according to the Color Meter.

However, the colours are rendered without problems on Safari and Firefox. I'm on a Mac using Chrome 11, Safari 5 and Firefox 5.

I'm sure there's a logical explanation. Any ideas?

Update: I'm attaching a screenshot of Chrome next to Safari showing the very same page. I checked this image in Photoshop: the colours are #F00 in Chrome and #FF3A00 in Safari.

解决方案

I recently posted a similar question: https://stackoverflow.com/questions/6338077/google-chrome-for-mac-css-colors-and-display-profiles

As Andrew Marshall answered there, this is a known issue: http://code.google.com/p/chromium/issues/detail?id=44872

这篇关于Chrome呈现与Safari和Firefox不同的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 22:27