Different color in Firefox and Chromium
2019-09-13
Today I opened a website in Firefox and Chromium simultaneously. I noticed that the same color looks different in the two browsers.
I used the following inline website to check it out:
data:text/html,
<style>
body {
margin: 0;
padding: 0;
}
div {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: blue;
color: white;
font-size: 20vw;
}
</style>
<body><div>0000ff</div></body>
Turns out that this is due to the color profile selected by the browser.
You can change the color profile of Chrome / Chromium at chrome://flags/#force-color-profile.
Check here for more information.