Falling For Oklch: A Love Story Of Color Spaces, Gamuts, And CSS — Smashing Magazine
Geoff is a technical editor and writer at Smashing Magazine. On top of that, he’s an independent contractor who teaches front-end design and development classes … More about Geoff ↬ Weekly tips on front-end & UX. Trusted by 200,000+ folks. I woke up one morning in early 2022 and caught an article called “A Whistle-Stop Tour of 4 New CSS Color Features” over at CSS-Tricks. Wow, what a gas! A new and wider color gamut! New color spaces! New color functions! New syntaxes! It is truly a lot to take in. Now, I’m no color expert. But I enjoyed adding new gems to my CSS toolbox and made a note to come back to that article later for a deeper read. That, of course, led to a lot of fun rabbit holes that helped put the CSS Color Module Level 4 updates in a better context for me. That’s where Oklch comes into the picture. It’s a new color space in CSS that, according to experts smarter than me, offers upwards of 50% more color than the sRGB gamut we have worked with for so long because it supports
15 min read CSS , Design , Techniques Share on Twitter , LinkedIn About The Author Geoff is a technical editor and writer at Smashing Magazine. On top of that, he’s an independent contractor who teaches front-end design and development classes … More about Geoff ↬ Email Newsletter Your (smashing) email Weekly tips on front-end & UX . Trusted by 182,000+ folks. Celebrating 10 million developers Figma Workflow Masterclass with Christine Vallaure Building Modern HTML Emails with Rémi Parmentier Smart Interface Design Patterns, 45 lessons + UX training How To Measure UX and Design Impact, 8h video
Explore this link on the map →related reading
- oklch.fyi ▸ OKLCH Color Picker, Generator and Converteroklch.fyi
- Color: From Hexcodes to Eyeballsjamie-wong.com
- Color Spaces – Bartosz Ciechanowskiciechanow.ski
- <color> CSS type - CSS | MDNdeveloper.mozilla.org
- Gamut - Wikipediaen.wikipedia.org
- Olo (color) - Wikipediaen.wikipedia.org
- How to generate color palettes for design systems || Matt Ström-Awn, designer-leadermatthewstrom.com
- Understanding the CIE L*C*h Color Spacesensing.konicaminolta.us
- Color spaces in OpenCV (C++/Python) | LearnOpenCVlearnopencv.com
- Working With Colors Guide | CSS-Trickscss-tricks.com
- OpenCV Color Spaces ( cv2.cvtColor ) - PyImageSearchpyimagesearch.com
- The HSB Color System: A Practitioner's Primer – Learn UI Designlearnui.design