Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: corrected threshold for luminance (#472)
The correct threshold is 0.04045, as recited in the official IEC standard for sRGB. And while it was incorrect (0.03928) for a long time in WCAG2, it was corrected by the W3 AGWG in May 2021. Current WCAG 2.1 and 2.2 reflect the correct 0.04045 threshold. Co-authored-by: Rico Kahler <[email protected]>
- Loading branch information