Culori
Reasonable, with limits. 3rd of 7 color libraries.
Culori is a fast, functional, tree-shakeable color library. It covers about 30 color spaces, including all of CSS Color 4 (OKLCH, Display P3), plus gamut mapping, interpolation and color difference. It does the job very well, but the last release was in June 2025 and there were only 4 commits in the past year, so it now carries more maintenance risk than Color.js or colord.
Best for: Developers who build design-system palettes or CSS Color 4 tooling and want a fast, tree-shakeable, function-based API with no dependencies.
Scores
Overall6.8
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
For modern CSS color work it is technically one of the best libraries: fast, comprehensive, tree-shakeable and free of dependencies. Two things hold it back: development has nearly stopped, with no release in 17 months, and it has no built-in types. Color.js covers the same ground with very active maintenance, and colord suits simpler needs with an easier API. It is a good pick if you accept the maintenance risk, but not the safe default.
- github commitsLastYear: 4 commits, against 188 for Color.js and 59 for colord.
- raw.githubusercontent.com/colorjs/color-space/HEAD/docs/library-comparison.md: Leads on speed and completeness.
- npm hasTypes: No bundled types.
- github.com/danburzo/culori/releases: Latest release v4.0.2, June 2025.
GPT-6.2 Sol: 7.1, likely 5.9 to 8.2
Culori is a strong pick when color conversion and interpolation are central to the project and a function-based API fits the code. Color.js is the stronger default for new TypeScript projects because it ships declarations and receives updates more regularly. Culori’s adoption in color tooling supports the recommendation, while its long release gap makes future standards support harder to predict.
- culorijs.org/api: Wide-gamut conversion and configurable interpolation support specialized tools.
- github.com/umbraco/Umbraco.UI/blob/main/docs/MIGRATION-V1-TO-V2.md: A maintained UI library chose Culori for its color picker.
- github.com/color-js/color.js/blob/main/package.json: Color.js includes declarations for its main and functional entry points.
- github releasesLastYear and peers Color.js: Culori had no release in the past year while Color.js shipped in July 2026.
Needed by many4.4
How many developers need a tool for this job?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
Parsing and converting colors is needed in design tools, theming, charts and CSS tooling, but most app developers never use a color library directly. Culori leans towards the more demanding CSS Color 4 and perceptual work, so it serves a slightly narrower group than people who only need simple lighten and darken.
- category job: Color work is a common need but not a universal one.
- culorijs.org: It targets CSS Color 4 spaces, interpolation and color difference.
GPT-6.2 Sol: 4.3, likely 3.2 to 5.6
Design systems, charting tools and editors can use Culori wherever JavaScript needs to compute colors. Routine styling can often use native CSS color functions. The State of CSS survey identifies theming and contrast problems, but it does not measure how many projects need a JavaScript color library.
- 2025.stateofcss.com/en-US/features: Respondents report theming, contrast and wide-gamut pain points.
- developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value/color-mix: Native CSS color mixing is widely available.
- culorijs.org/getting-started: Documents browser, Node.js and Deno usage.
Helps a lot8.1
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
Its features are broad: about 30 color spaces, gamut mapping, several delta-E formulas, interpolation including splines, and a tree-shakeable build. A third-party benchmark shows it far ahead on speed. Points come off because it ships no types, its API is verbose for simple tasks, and some bugs in gamut clamping and the okhsl math are still open. Color.js is the stronger reference for exact spec behavior.
- raw.githubusercontent.com/colorjs/color-space/HEAD/docs/library-comparison.md: 30 spaces, gamut mapping, 23 kB, about 10M conversions per second, against 0.27M for Color.js and 1.9M for chroma.js.
- github.com/danburzo/culori/releases: v4 aligned parsing and serialization with CSS Color 4; v4.0.2 fixed the Oklab matrices.
- github.com/danburzo/culori/issues: Open bugs include clampChroma (#129, #253) and okhsl (#287); the TypeScript request #128 is open.
- npm hasTypes: No bundled TypeScript types.
GPT-6.2 Sol: 8.1, likely 7.0 to 9.1
Version 4.0.2 combines wide-gamut conversion, flexible interpolation and gamut mapping with a detailed API reference. Saturon’s benchmark found it fast at several common operations, while Colordx’s benchmark found it slower than chroma.js for a two-color mix. Lenient parsing and a confirmed mismatch in the community TypeScript declarations add friction for developers and coding agents.
- culorijs.org/api: Documents conversion, interpolation, gamut mapping and parse failures.
- saturon.js.org/docs/benchmarks: Culori 4.0.2 led on several parsing, conversion and formatting microbenchmarks.
- dev.to/dkryaklin/how-i-built-the-fastest-color-manipulation-library-in-typescript-and-the-optimization-techniques-i-56al: A competing library’s benchmark shows results vary by operation.
- github.com/danburzo/culori/discussions/277: A user reported that bare hex passes the parser.
- raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/culori/src/clamp.d.ts: The toGamut callback is still declared as a number.
Holds up over time5.1
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
The project is not archived, and issues keep arriving, including several from late 2026. But it had 4 commits and no releases in the last year, the latest release dates from June 2025, and one maintainer carries the work. Peers such as Color.js (188 commits) and colord (59 commits) are much more active. Its large install base makes abandonment less likely, but nothing shows funding or co-maintainers.
- github commitsLastYear / releasesLastYear: 4 commits and 0 releases in the past year.
- npm latestPublishedAt: Last published 2025-06-27.
- scorecard Maintained: Maintained check scores 3 of 10.
- github.com/danburzo/culori/issues: Twenty issues are open, some from 2018 to 2021.
GPT-6.2 Sol: 5.1, likely 3.8 to 6.5
Culori had four commits and zero releases in the past year, while Color.js and chroma.js both shipped updates. A maintainer answered a user question in August 2026, but color-space updates remain open and the last major release changed parsing and serialization. The evidence leaves the timing of the next release and the scope of ongoing maintenance uncertain.
- github commitsLastYear, releasesLastYear, pushedAt and latestRelease: Four commits, a November push and a June 2025 release.
- peers Color.js and chroma.js: Both peers had more commits and published in 2026.
- github.com/danburzo/culori/releases: Version 4 changed how some values parse and serialize.
- github.com/danburzo/culori/discussions/277: Maintainer answered a parsing question the next day.
- github.com/danburzo/culori/issues/266: Linear Display P3 is still an open request.
- github.com/danburzo/culori/issues/265: A Rec. 2020 standards update is still open.
Used widely5.2
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Downloads rose from 2.2M to 25.4M per 4 weeks, a ratio of about 11.7 against the 4.1 median. Such a jump most likely comes from a popular tool that started installing it, not from many direct choices. ecosyste.ms counts only 70 dependent repos, far below every peer, though that count may miss many. It has 1.3k stars, and 2026 write-ups name it as the go-to OKLCH library.
- npm downloadsLast4Weeks vs downloadsSame4WeeksYearAgo: 25.4M against 2.16M, about 11.7 times.
- dependents: 70 repos and 55 packages, much lower than chroma.js at 19.7k.
- github stars: 1,258 stars, the second fewest among the peers.
- pkgpulse.com/blog/culori-vs-chroma-js-vs-tinycolor2-color-manipulation-javascript-2026: Cites about 8M weekly downloads in early 2026.
GPT-6.2 Sol: 4.4, likely 2.8 to 6.1
Four-week npm downloads rose from 2.16 million to 25.42 million, about 11.7 times the prior year and above the catalog’s 4.1-times median. Ecosyste.ms found 70 repositories and 55 packages, with the lowest repository count among the listed peers. Umbraco UI 2 and older daisyUI installs can pull Culori in automatically, so the size and growth of direct adoption are hard to estimate.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo and medianDownloadsRatio: Install growth exceeded the catalog baseline.
- dependents, peers dependentRepos: Seventy indexed repositories and 55 packages.
- github.com/umbraco/Umbraco.UI/blob/main/docs/MIGRATION-V1-TO-V2.md: Umbraco UI 2 installs Culori automatically.
- daisyui.com/docs/v5: daisyUI 4 pulled in Culori and version 5 removed it.
Vouched for6.2
Who stands behind it being good?
Claude Opus 5.5: 5.5, likely 4.0 to 7.0
A 2026 comparison says Tailwind CSS v4 and Radix UI use it to generate color systems, and I could not confirm that independently. daisyUI depended on it before v5. A third-party library comparison rates it the most complete all-round toolkit, and a deprecated OKLCH library sends its users to Culori. It has no survey data and almost no presence on Hacker News or Bluesky.
- pkgpulse.com/blog/culori-vs-chroma-js-vs-tinycolor2-color-manipulation-javascript-2026: Says Tailwind v4 and Radix UI use it.
- github.com/drwpow/better-color-tools: A deprecated library recommends Culori as its replacement.
- raw.githubusercontent.com/colorjs/color-space/HEAD/docs/library-comparison.md: Rated the most complete toolkit for web and design work.
- hackerNews / bluesky: 0 stories and 0 posts.
GPT-6.2 Sol: 6.8, likely 5.6 to 7.9
Umbraco UI 2 chose Culori for its color picker, and HSL Picker and Ayu Colors declare it as a dependency. Benchmarks maintained outside Culori report competitive results on some tasks, with results varying by operation. These examples support its use in color tooling, while evidence of wider production use and developer satisfaction is limited.
- github.com/umbraco/Umbraco.UI/blob/main/docs/MIGRATION-V1-TO-V2.md: Umbraco UI switched its color picker from colord to Culori.
- github.com/imathis/color-picker/blob/master/package.json: HSL Picker declares Culori 4.0.2.
- github.com/ayu-theme/ayu-colors/blob/master/package.json: Ayu Colors declares Culori as a runtime dependency.
- saturon.js.org/docs/benchmarks: A reproducible comparison reports fast parsing and formatting.
Safe7.2
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
It has no runtime dependencies, no advisories ever and an MIT licence, so the attack surface is small. Points come off for the low Scorecard of 3.4, with no security policy, no SAST and no signed releases, and for releases published by a single maintainer.
- npm dependencies: 0 dependencies.
- advisories total: No known advisories.
- scorecard score: 3.4, with Security-Policy, SAST and Fuzzing at 0.
- npm license: MIT.
GPT-6.2 Sol: 6.9, likely 5.5 to 8.1
Culori has zero runtime dependencies, a permissive MIT license and no advisories in the OSV snapshot. Its OpenSSF Scorecard is 3.4, with weak code review and no credit for a security policy, fuzzing or static security analysis. npm lists two collaborators, and the release manifest runs lint, build and tests before publishing. Release provenance and the speed of a future security fix remain uncertain.
- npm dependencies and license, advisories total: Zero runtime dependencies, MIT and zero OSV advisories.
- scorecard score and checks: Code Review scored 3, and Security Policy, Fuzzing and SAST scored 0.
- github.com/danburzo/culori/security: GitHub shows no security policy or published advisories.
- npmjs.com/package/culori?activeTab=dependents: npm lists two package collaborators.
- raw.githubusercontent.com/danburzo/culori/v4.0.2/package.json: The release manifest defines lint, build and test checks before publishing.
Good
- It supports about 30 color spaces, including OKLCH, OKLab, Display P3, Rec2020 and ICtCp, and v4 aligned parsing and serialization with the CSS specs.
- Colors are plain objects passed through functions, so bundlers can tree-shake it well; a third-party comparison measured 23 kB min+gz for the full build.
- A third-party benchmark found it much faster on scalar conversions than chroma.js and Color.js.
- It has no runtime dependencies, an MIT licence and no known advisories.
Bad
- There has been no release since v4.0.2 in June 2025 and only 4 commits in the past year, so new bug reports wait.
- It ships no TypeScript types, so users depend on the community package @types/culori; the request for built-in types has been open since 2021.
- The functional API takes more words than chainable APIs such as colord or TinyColor for simple tasks.
- One maintainer does most of the work, and the OpenSSF Scorecard is low at 3.4, with no security policy and no SAST.
The numbers
- npm downloads, 4 weeks
- 25M ×12 in a year
- GitHub stars
- 1.3k
- Commits, 12 months
- 4
- npm version
- 4.0.2 Jun 2025
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 3.4 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (danburzo/culori), npm (culori), OSV and the OpenSSF Scorecard.