Live data from Hacker News

Different browsers see different colors

mux.com

11–20 of 88 posts

Re: Different browsers see different colors

#11
post #5
post #4

There was a website that showed different browsers rendered CSS differently, it reminds me vaguely of a square / maybe divided in triangles. Anyone know the website? I have been looking for it but to no avail.

http://acid2.acidtests.org/ ?

Oh, ironically, this old test breaks on Google Chrome 90.0.4430.212 on macOS.

Re: Different browsers see different colors

#12
I wish all browsers would heed color space hints consistently. Seems like some things are always going to assume the generic sRGB, and some thing will notice the profile and convert accordingly.

https://www.littlecms.com can come in handy if you have tricky color space issues.

Re: Different browsers see different colors

#14
> And many people know that specific colors are really just wavelengths in the electromagnetic spectrum. [...]

> There are many systems involved to turn an RGB triplet value into a specific wavelength of light

I think this wavelenght-color connection, often perpetuated in high-school classrooms, confuses people more than helps. In particular when talking RGB colors, your display (or really, any part of the process) will not really change the wavelenghts of outputted light based on the input.

Also colors really are not just wavelengths in EM spectrum. Color is more of a perceptual phenomenon, something that happens in our heads, more than physical phenomenon. And there are many things that can impact the color perception, most obviously the other surrounding colors and ambient lighting.

Re: Different browsers see different colors

#15
post #3

(Mux founder here, but adding some additional community bits to the conversation) Probably unsurprisingly, the (honestly absurd world of) color is a pretty consistent topic among video engineers. Color theory is one of those areas that people working directly with it see it as a completely unsolved problem, and everyone else largely takes it for granted. This is a small sample size, but these are all talks just from…

Agreed, digital color can be a huge rabbit hole once you start understanding all of the pieces involved. Reminds me of one of my favorite xkcd comics (the alt text is particularly relevant here)

https://xkcd.com/1882/

Re: Different browsers see different colors

#16

I wish all browsers would heed color space hints consistently. Seems like some things are always going to assume the generic sRGB, and some thing will notice the profile and convert accordingly. https://www.littlecms.com can come in handy if you have tricky color space issues.

One good thing about HDR is that it is sort of forcing more software to address color management in some way, because you simply can not mix SDR and HDR content without some color management.

Re: Different browsers see different colors

#17

Screens also display colours differently. Trying to get the perfect colour is futile in the same way trying to get pixel perfect web designs is.

I remember the first time I got two same model monitors and spent far too long failing to get the colour to match on both. The killer with colour problems is that it's not a problem until you see it and then you can't un-see it.

Re: Different browsers see different colors

#18

Screens also display colours differently. Trying to get the perfect colour is futile in the same way trying to get pixel perfect web designs is.

Fun example of at least making an attempt...the Demuxed website for 2019[1] had a big, animated hero image on top of a deep purple background. Obviously we went with a video first, which looked great, but then...we ran into this problem and different browsers/hardware all would show slight-but-obvious differences between the video background and the hero background.

Ultimately we decided to just use a gif, but the other, more fun solution we experimented with was to use canvas to render the video, grab the hex value from one of the purple pixels, and set the background to that[2].

[1] https://2019.demuxed.com

[2] https://codesandbox.io/s/video-canvas-playground-gp0hk?from-...

Re: Different browsers see different colors

#19
post #11
post #5

Earlier quoted context omitted.

http://acid2.acidtests.org/ ?

Oh, ironically, this old test breaks on Google Chrome 90.0.4430.212 on macOS.

If you go to acidtests.org, they say the tests are no longer maintained, and that acid3 has some controversial tests that not everyone agrees on anyway.

Chrome and Safari both fail to complete acid2 and acid3 for me on MacOS.

Post reply on HN