Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on You want enabling CSS selectors, not disabling ones. Parent comment
https://webaim.org/resources/contrastchecker/
It's basically a measure of perceived brightness. The actual formula involves calculating the relative luminance of the background and foreground colors, where luminance is a value from 0 (darkest) to 1 (lightest), and using the formula
(lighter_luminance + 0.05) / (darker_luminance + 0.05)
So the highest possible contrast ratio in this system is 21:1.
https://webaim.org/resources/contrastchecker/
It's basically a measure of perceived brightness. The actual formula involves calculating the relative luminance of the background and foreground colors, where luminance is a value from 0 (darkest) to 1 (lightest), and using the formula
(lighter_luminance + 0.05) / (darker_luminance + 0.05)
So the highest possible contrast ratio in this system is 21:1.