Elestia Open Source Ratings

Color libraries

Parse, convert and mix colors. We rate 7; Color.js leads with 7.9 out of 10.

7.9Color.jsProjects that need correct CSS Color 4/5 handling, such as OKLCH, P3, gamut mapping and contrast, more than a tiny bundle.4.58.67.84.77.68.5
7.0colordFront-end projects that need small, fast hex/RGB/HSL parsing, lighten/darken, mixing and contrast checks, without wide-gamut color science.4.97.16.67.16.77.8
6.8CuloriDevelopers who build design-system palettes or CSS Color 4 tooling and want a fast, tree-shakeable, function-based API with no dependencies.4.48.15.15.26.27.2
6.6chroma.jsData-visualization projects that need color scales, ColorBrewer palettes and perceptual interpolation with a simple chainable API.4.87.16.35.56.07.3
5.7d3-colorD3 and data-visualization projects that need simple, reliable conversion between RGB, HSL, Lab and HCL, and nothing more.4.25.75.46.36.67.1
4.9colorExisting codebases that already use its chainable RGB/HSL API and only need basic sRGB adjustments.5.45.54.07.04.85.1
3.9TinyColorExisting codebases that already use tinycolor2 for simple sRGB parsing, lighten/darken, or readability checks, and have no reason to migrate yet.4.75.12.66.24.76.0

The numbers

Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.

ProjectDownloads, 4 weeksIn a yearGitHub starsCommits, 12 monthsLast npm releaseAdvisories, 24 months
Color.js57M×4.52.3k188Jul 20260
colord103M+94%1.9k59Nov 20261
Culori25M×121.3k4Jun 20250
chroma.js17M×3.011k35Nov 20260
d3-color421M×6.44281Nov 20260
color282M×2.24.9k1Nov 20252
TinyColor75M×2.75.3k0Feb 20230