function
lch() — CSS reference
LCH is the polar form of CIE Lab. Chroma measures distance from the neutral axis, and hue is an angle. Chroma is not HSL saturation. A zero-chroma color has no meaningful hue; high chroma can exceed a target display gamut.
Formal Syntax & Structure
css syntaxcss
lch(L C H [ / alpha ])Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS color lab</title><style>body {margin:0} .sample {height:12px;background:#006050}p {padding:12px;background:white;color:black;border:2px solid currentColor} #a{color:lch(50% 30 120)} #b{color:lch(50 0 120)}
</style><body><p id="a">First color sample</p><p id="b">Second color sample</p></body></html>