Jump to main content

Nicolas Hoizey

  • articles
  • billets
  • links
  • notes
  • talks
  • archives
  • about

Andrey Sitnik avatar Andrey Sitnik and Travis Turner

OKLCH in CSS: why we moved from RGB and HSL

  • Nicolas Hoizey
  • 29 September 2023
  • CSS, color
  • 1 reaction
Screenshot of “OKLCH in CSS: why we moved from RGB and HSL”

https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl

By moving to OKLCH today, we’re preparing ourselves for the not-so-distant future where native color modification will be available in CSS. OKLCH is the best color space for color transformations and it’s better to become familiar with its axes by using them in color definitions now.

1 reaction

1 like

  1. Tyler Sticka avatar
  • Older: I'm a Spotless Giraffe.
  • Newer: How I am blogging the IndieWeb way

If you want to share an error or suggest an enhancement of this content, please edit the source on GitHub.

© Nicolas Hoizey

Built with Eleventy