Live data from Hacker News

Different browsers see different colors

mux.com

81–88 of 88 posts

Re: Different browsers see different colors

#81
post #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) w…

That’s when you’re talking about color production (how the artist/content creator intends a specific visual image to be perceived). Color reproduction is 100% an engineering thing about wavelengths. To my knowledge monitors do indeed change the wavelength. Sure it’s several separate colored emitters, but using constructive and destructive interference to generate a wavelength doesn’t take anything away from it. There…

> It’s a complex topic for sure. But the position of “color is purely a perception in our head and not wavelengths” position is too extreme in the opposite direction and isn’t helpful in building things.

As an illustration for the in your head position: Human eyes can't directly perceive yellow tones. What we think of as yellow is a computation on the signals of both the M and L cones. If both say they perceived radiation at approx. the same intensity, that gets calculated as yellow afterwards.

That's why RGB displays are not reproducing the correct wavelengths, but only those our eyes can read directly: red, green and blue.

Re: Different browsers see different colors

#82
For anyone looking to get a better understanding of digital color, I'd recommend "The Hitchhiker's Guide to Digital Color":https://hg2dc.com/. The tone is a tad rude at times (though it's not directed at you), but it's done a good job of explaining stuff to me so far (I haven't finished reading it yet).

Re: Different browsers see different colors

#83
post #59

Earlier quoted context omitted.

Which browser are you using...?

Opera version 4 on a Sun SPARCstation 5 rendered in black and white onto a twenty five year old CRT. Why - is it not beige to some people?

I just took a screenshot of the site and used the color pipette, it's pixel-perfect #FFFFFF white, not beige.

Re: Different browsers see different colors

#85
post #76
post #74

Earlier quoted context omitted.

The modern equivalent is the Web Platform Tests[1], which are far more extensive than the Acid tests were. Browser conformance is tracked continuously[2]. [1] https://github.com/web-platform-tests/wpt [2] https://wpt.fyi/

The WPT is the exact opposite of what I was talking about. The interesting thing about the Acid tests isn't their utility as a conformance test. Sure, that's what the were, but even at the time the problems with the tests were well known. The features they tested were incomplete and somewhat arbitrary. Most browsers didn't even bolter trying to get the last 3 points on Acid3, which tested SVG fonts. I'm sure WPT is f…

If you want to run a specific wpt, you just load the URL. See https://wpt.live/ (which is linked to from the wpt.fyi bits).

But yes, if you want to run the full test suite and get overall results there's more work to do.

Re: Different browsers see different colors

#86

Earlier quoted context omitted.

I don't even know what the confusion is. Is the sun not white? It looks white.

Most people describe it as yellow, and if you google image search for "sun", most of them range from orange to yellow. Though it actually covers the full visual spectrum, much of the blue gets scattered, making the sky blue and the sun yellow.

[deleted]

Re: Different browsers see different colors

#87

Earlier quoted context omitted.

I don't even know what the confusion is. Is the sun not white? It looks white.

I think the confusion arises because because people (the author of the article included) confuse "color" and "spectral color". Spectral colors are what you when you look at light of a single wavelength, e.g. a green 520nm laser pointer. Not all colors are spectral colors, e.g. you'll see purple if you look at a source that produces 600nm and 450nm light, which is a color that can't be produced by any single wavelengt…

[deleted]
Post reply on HN