Color.js
Summary
A JS library for the CSS Color specs: convert, interpolate, and gamut-map across OKLab, OKLCH, P3, and more.
Written by two of the spec’s editors, so it tracks browser behavior closely.
- Resource: Color.js
- By: Lea Verou & Chris Lilley
- Kind: references (library)
- Level: intermediate
- Tags: color-spaces, gamut, gradients, oklab, cielab, cam16, developer, reference, javascript