Show HN: What's my JND? – a colour guessing game
Posted by Keithamus 15 hours ago
Comments
Comment by OisinMoran 46 minutes ago
Okay, tried again and got 0.0034 which is still says is beyond the human limit! I'll have to give this to my mum because we often argue about colours and I suspect she might be a tetrachromat.
Both tests on a Pixel 10 btw
Comment by vunderba 1 hour ago
Comment by OisinMoran 39 minutes ago
Comment by hatthew 1 hour ago
Comment by vova_hn2 23 minutes ago
Had to turn off the "Night Light" (reducing blue) and set brightness to max.
Comment by brikym 1 hour ago
It helps if I move side to side like a party parrot. I'd love to see a histogram of where I stand.
Comment by john_strinlai 2 hours ago
not knowing anything about color, i will admit i am a bit confused. i scored 0.0034 and was told "if you're not already calibrating displays for a living, you're leaving money on the table". which, to me, implied i did quite well!
but, reading the scores posted here, most people are doing a lot better than me. i doubt all of us are crazy good...
so, i assume the front page is a typo: "most people land around 0.02" (should be 0.002, not 0.02)? if yes, then i am back to not understanding the message i got about calibrating displays, because i did quite a bit worse than 0.002.
edit: nerd-sniping myself a little bit. but it appears (stressing: i know nothing) the "0.02" is accurate, but calculated by showing someone two colors and asking "are these different" until the person answers the question correctly 50% of the time. which is a different question than "where, precisely, is the line between these two colors". with the different question, it ends up compressing the result down by about an order of magnitude.
Comment by Keithamus 2 hours ago
Comment by itishappy 1 hour ago
To promote some further reading:
OKLab isn't actually a perceptually uniform colorspace. It's better than others, but it was specifically chosen as a tradeoff between accuracy and speed (hence the name OK). When you start digging this deep, you quickly learn that we have yet to invent any perceptually uniform colorspaces; even the most precise models we have end up using fits and approximations. Color has some really inconvenient properties like depending strongly on brightness and background. Frankly, given the differences in human biology (having orders of magnitude differences in relative numbers of each cone, for instance), it's surprising we agree as much as we do! Human color perception is an endless pit of complexity.
(Note, I don't say any of this to detract from what you've built here, merely expand. Your site is awesome and I love it!)
Comment by john_strinlai 2 hours ago
absolutely! thanks for posting it and the associated article.
Comment by erikig 9 hours ago
Here's the related article on how much accuracy is really needed in CSS values. https://www.keithcirkel.co.uk/too-much-color/
Comment by patrakov 4 hours ago
The code contains a function that, given the target ΔE, generates two colors in floating-point Oklab representation, separated by that distance. But there is no check whether the two generated colors end up rounding to exactly the same one on 8-bit displays. So, I was asked to find a boundary (while the claim was that there were two distinct colors 0.0013 ΔE apart) between RGB(80, 83, 152) and RGB(80, 83, 152). Obviously unfair.
Comment by Keithamus 2 hours ago
Comment by refulgentis 1 hour ago
EDIT: Just read the blog post. I thought HSL was bad for design, Oklab is much worse. It just goes right ahead and reuses color science terms so it sounds it got it all right. (dEOK existing and its "JND" being 0.02 absolutely made my head spin. None of this is recognizable to a color scientist)
Comment by whalesalad 13 minutes ago
Comment by filmgirlcw 10 hours ago
Comment by dominikh 5 hours ago
Comment by Keithamus 2 hours ago
Comment by rahimnathwani 9 hours ago
I tried it on a recent Pixel with brightness set to two-thirds, and this is my result:
Comment by jaffathecake 15 hours ago
Comment by alexanderameye 14 hours ago
Comment by jaffathecake 14 hours ago
- 0.0028 on my MacBook pro screen
- 0.0045 on my Dell monitor
- 0.0033 on my Pixel 10 pro
And those scores are pretty consistent.
Comment by filmgirlcw 10 hours ago
Comment by nickdothutton 9 hours ago
Comment by dreday 12 hours ago
Comment by stonedge 2 hours ago
Comment by john_strinlai 2 hours ago
it is measuring the smallest color distance you can still detect. so a lower number means you can spot the difference between two more-alike colors.
Comment by Biganon 2 hours ago
Comment by zakki 2 hours ago
Comment by pestatije 11 hours ago
Comment by dreday 12 hours ago
Very addictive, kudos to the dev
Comment by ludamn 1 hour ago
Comment by ludamn 1 hour ago
Comment by ezpzai 1 hour ago