Culori is a comprehensive color library for JavaScript that works across many color spaces to offer conversion, interpolation, color difference formulas, blending functions, and more. It provides up-to-date support for the color spaces defined in CSS Color Module Level 4 specification.
npm install culori
The full documentation is published on culorijs.org. Some quick entry points:
Contributions of all kinds (feedback, ideas, bug fixes, documentation) are welcome.
Please open a GitHub issue/discussion before putting in any work that’s not straightforward.
More in CONTRIBUTING.md.