Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

culori

Evercoder1.1mMIT4.0.1TypeScript support: definitely-typed

A general-purpose color library for JavaScript

blend, ciede2000, cielab, color, color-difference, cubehelix, din99, gradients, hsi, hsl, hsv, hwb, interpolation, lab, lch, lrgb, mix, rgb, yiq

readme

culori

npm version bundle size

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:

Contributing

Contributions of any kind (feedback, ideas, bug fixes) are welcome. Please open a GitHub issue before starting work on anything that's not straightforward.