liveBook · Manning

OKLCH

OKLCH is a perceptually uniform cylindrical color space representing color by lightness, chroma, and hue.

How 2 Manning books explain it

CSS in Depth, Second Edition

OKLCH is a perceptual cylindrical color model whose coordinates represent lightness, chroma, and hue.

How it is used
Uses OKLCH to inspect, refine, and extend a CSS palette translated from a page mockup.
How deep it goes
Works through DevTools conversion and palette adjustments, but does not develop color-space mathematics.
Examples
Shows converted green and gray custom properties, a derived active-link color, and DevTools color-picker adjustments.
What you can do after
Apply it via Chrome DevTools and CSS `oklch()` to convert existing colors and test additions to a palette.

Read how CSS in Depth, Second Edition explains OKLCH →

Math for Web Design

OKLCH is a perceptually uniform color space that represents color using lightness, chroma, and hue.

How it is used
Builds visually even CSS color scales and supports perceptually consistent dark-mode palette transformations.
How deep it goes
Defines all three coordinates, their practical ranges, CSS syntax, scale variations, and lightness inversion without deriving color-space conversion algorithms.
Examples
Uses heading colors, fixed-hue lightness and chroma scales, and inverted-lightness dark-mode colors.
What you can do after
Apply it via CSS oklch() to create controlled color scales and derive perceptually consistent dark-mode variants.

Read how Math for Web Design explains OKLCH →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.