← Back to release summary

CIE Lab color functions for CSS

Category
CSS
Type
New or changed feature
Status
In development (Chrome In development)
Intent stage
Start prototyping

WPT details: WPT tests are lab-001 to lab-007 and lch-001 to lch-007 in: https://wpt.fyi/results/css/css-color?label=experimental&label=master&aligned

Summary

CSS Working Group has added the lch() and lab() functions to the CSS Color Module Level 4 specification. These are based on the CIE LAB color space, which is able to represent colors in a way that closely matches human perception. The purpose of this intent is to implement the functions lch() and lab() as described in the CSS spec.

Motivation

These new functions will enable design tools and design systems to handle colors with higher richness, fidelity, and flexibility, and improve accessibility. Supporting this functionality will also help unblock other color related additions to CSS.

Standards & signals

Ecosystem

Explainers: https://drafts.csswg.org/css-color-4/#specifying-lab-lch

View on chromestatus.com