Chromium和Firefox显示的颜色不同,我不知道哪个做对了 [英] Chromium and Firefox display colors differently and I don't know which one is doing it right

查看:107
本文介绍了Chromium和Firefox显示的颜色不同,我不知道哪个做对了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在Ubuntu 17.10下建立一个网站,并使用Firefox和Chromium进行测试。两种浏览器显示的颜色完全不同(不仅用于图像,而且用于所有颜色),我一直认为是Chromium出于某种原因错误地使它们过度饱和,因此直到现在,我始终选择在Firefox中看起来正确的颜色。 p>

但是我开始越来越多地抱怨网站的背景太紫色了-我不认为这是因为它的颜色只是蓝色( #eeeeff)是高架的,但是到了一定程度,越来越多的人看到它是紫色而不是蓝色,这让我感到困惑。



这是前面提到的颜色在Firefox(左)和Chromium(右)中显示。





这就是我看到网站的方式:





差异很大(请注意,即使favicon是不同的),我想请您告诉我在选择网站颜色时应该信任哪个浏览器,以及是否可以做一些事情来避免在不同的浏览器中如此不同地显示它。



(有些用户也在Firefox中看到过饱和的颜色。那么,现在哪个才是正确的呢?)

解决方案

另一种选择是打开 chrome:/ / flags / ,然后在强制颜色配置文件项上选择选项 sRGB





通过使用此设置,而不是禁用在可用时使用硬件加速 ,您就不会失去一些不错的功能,例如Google Maps上的3D视图。



在这里找到解决方案:>://www.reddit.com/r/Fedora/comments/74h5yh/blue_shows_as_purple_in_chrome/


I've been building a website under Ubuntu 17.10 and use Firefox and Chromium for testing. The two browsers show quite different colors (not only for images but all colors) and I always thought that it is Chromium which for some reason wrongly over-saturates them, so up until now I always chose colors that looked right in Firefox.

But I'm starting to get more and more complaints about the website's background being too purple - which it shouldn't be in my opinion as only the blue component of it's color (#eeeeff) is "elevated", but it has reached a point that more people are seeing it as purple than blue, what makes me confused.

This is the aforementioned color displayed in Firefox (left) and Chromium (right).

And this is how I see a website:

The difference is quite large (notice how even the favicon is different) and I'm asking you to tell me which one is the browser I should trust when choosing the colours of my websites and whether I could do something to avoid it being displayed so differently in different browsers.

(There are some users that see the overly saturated colors in Firefox too. So now which is the right one, really?)

解决方案

Another option is to open chrome://flags/ and select the option sRGB on the Force color profile item.

By using this setting instead of disabling the Use hardware acceleration when available, you don't lose some nice features like the 3D view on Google Maps.

Solution found here: https://www.reddit.com/r/Fedora/comments/74h5yh/blue_shows_as_purple_in_chrome/

这篇关于Chromium和Firefox显示的颜色不同,我不知道哪个做对了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆