CSS Named Colors Sorted by Oklab Perceived Lightness
My quest here was to figure out if any of the named CSS colors can be used as convenient white or black alternatives for a less harsh, yet still WCAG AAA and desaturated palette. The answer is that there are no suitable dark colors, but there are a few potentially usefull light colors. I personally think that snow and floralwhite are the most neutral replacements for white.
References
- https://www.w3.org/wiki/CSS/Properties/color/keywords
- https://bottosson.github.io/posts/oklab/
- https://bottosson.github.io/posts/colorpicker/
- https://drafts.csswg.org/css-color/#valdef-color-rebeccapurple
Appendix A: Dynamically Generated Table
| Swatch | Name | Oklab Lightness |
|---|