~/talk

The World Isn't Black and White, It's RGB

TalkinItalianat cssday 2025 · on Friday, 2025-03-28· [css, accessibility]
slides:none on file

Presents evidence that using device-independent OKLCH color instead of RGB/HSL better preserves perceived lightness and contrast, and demonstrates in-browser HTML/CSS sliders where HSL choices break text readability while OKLCH maintains legibility. Explains the luminance math (gamma ≈2.4 with channel weights ~green 70%, red 21%, blue 7%), cites CSS color updates (Feb 2024) and WCAG 2.2 contrast threshold 4.5:1, and shows a small demo that reproduces and avoids HSL’s surprising contrast failures.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Color in CSS
  3. 3:39Color accessibility
  4. 5:45Luminance importance
  5. 8:57HSL limits
  6. 12:19Color perception limits
  7. 14:52New CSS color specs
  8. 16:43OKLCH for web color
  9. 18:13RGB color space
  10. 21:33Beyond RGB with P3 and OKLCH
  11. 22:36OKLCH palette benefits
  12. 23:42Demo: HSL vs OKLCH readability
  13. 24:23Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.