~/talk

Hd css Colors

Talkat CSSCamp 2021 · on Wednesday, 2021-07-14· [css, web-performance]
slides:none on file

CSS now exposes LCH, LAB and the generic color() space plus device-aware profiles like display-p3 (Safari shipped it since 2017, ~50% more colors than sRGB). Demos show conic and linear gradients that avoid gray dead zones, richer near-black shadows, and a theming tool that uses color-mix to derive text variants from one brand value. New APIs include color-contrast for runtime contrast selection, relative color() syntax to tweak channels (e.g., double lightness or halve chroma), and media query dynamic-range: high.

AI-written summary · about

  1. 0:00Introduction to HD CSS colors
  2. 1:06CSS color limitations with sRGB
  3. 3:35Color Level 4 new features
  4. 6:02Perceptual color spaces LCH and LAB
  5. 7:49Vibrant gradients in Display P3
  6. 9:12Color picking with Photoshop and DevTools
  7. 10:57Color function and custom color spaces
  8. 11:40Using Display P3 in CSS today
  9. 12:42Color Level 5 color manipulation
  10. 13:05Color mix for design systems
  11. 13:28CSS color contrast function
  12. 15:14Relative color syntax in CSS
  13. 16:17Gradient demos in different color spaces
  14. 17:41Comparing gradients across color spaces
  15. 19:25Neon color sets in Display P3
  16. 20:52Rich shadows and blacker blacks
  17. 22:56Neon logo with Display P3 colors
  18. 23:37Theming system with color mix
  19. 24:37Color contrast in action
  20. 26:47Relative color syntax demo
  21. 28:33Demo links and closing
~/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.