@thi.ng/color
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
Greatly missing color functions and types for JavaScript. Supports three color spaces: *sRGB*, *CIELab* and *CIEXYZ* with precise conversion between them. Zero dependencies. Parser doesn’t rely on browser to parse color strings and could be used in any en
Convert between logarithmic srgb and linear raw color data.
Color functions
Gamut map css colors to fit display specific gamuts
Utility functions for parsing, converting and mixing colors in sRGB, CIE-XYZ, CIE-L*a*b*, and okLab color spaces
Color Space Convertor