colorjs.io - Color.js: Let’s get serious about color

Example domain paragraphs

Each color belongs to a color space; operations are color space agnostic. Modules for a wide variety of color spaces , including Lab/LCh, OKLab/OKLCh, sRGB and friends (HSL/HSV/HWB), Display P3, J z a z b z , REC.2100 and many more .

Actual gamut mapping instead of naïve clipping, multiple DeltaE methods (76, CMC, 2000, J z ), multiple chromatic adaptation methods (von Kries, Bradford, CAT02, CAT16), all with sensible defaults

Every CSS Color 4 format & color space supported for both input and output , whether your browser supports it or not.

Links to colorjs.io (4)