Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Bug? #952 shows matching colour but scores only 94%.

Android Chrome.



The actual colour may have been #950 or #951 which looks very similar to #951.

Pulling the blue slider down by a notch or two could have got you a perfect match.

Here is a demo of these colours if you want to see for yourself how similar they look:

https://susam.net/code/bin/2024-03-31-rgb-952.html


Thanks. Colour was identical.


I think to ensure readability it caps the colour at the lower end, so #950, #951, #952 all show up the same.

That's my best guess.

EDIT: But from reading the code there seems to be no such logic. Strange, because I observed the same thing, in Firefox on Android.


Certainly something odd is happening.


RGB tells you that #952 is as far from #951 as, for example #952 is from #851, or from #962. They aren't. The first two are very close, practically the same to the eye.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: