This project provides an extensive collection of color spaces, offering a unified API for conversions and detailed metadata. It covers 162 different color spaces, including:
Display & web spaces like RGB, P3, REC2020, and LRGB
Cylindrical spaces such as HSL, HSV, HWB, and HCL
Perceptual spaces including modern OKLCH, OKLAB, and CIE classic LAB, LCH, LUV
HDR and wide gamut spaces like ICTCP, JZAZBZ, and REC2100
Colorimetry & vision spaces including XYZ, LMS, and spectral data
Video & broadcast standards like YCBCR (BT.709, BT.2020) and YUV
Film & camera formats such as ACES, LOGC, SLOG, VLOG, and REDLOG
Appearance models like CIECAM02, CAM16, and ZCAM
Print & physical spaces including CMYK, MUNSELL, and RAL
Specialty & research spaces
Key features include:
One Conversion API: Seamlessly convert between any of the 162 color spaces.
Verified Data: All color spaces come with conventional ranges, cited references, and provenance.
Zero Dependencies: The core library is lightweight and has no external dependencies.
Public Domain: The entire collection is released under the Public Domain (CC0).
Multiple Formats: Supports JavaScript modules, WASM kernels for high performance, GLSL shaders for graphics, and .cube LUTs or .icc profiles for professional workflows.
Metadata Included: Detailed information for each space, including channel symbols, ranges, and source references, is available in JSON format.
This tool is invaluable for developers, designers, and color scientists working with digital color, ensuring accuracy and consistency across various platforms and applications.
Built with