Ross ROSS = Recommend OSS · open-source software intelligence for agents

color-js/color.js

Color conversion & manipulation library by the editors of the CSS Color specifications observed · 2026-08-28

github.com/color-js/color.js · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

97/100

  • Activity 99
  • Release rhythm 94
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 22
  • age_days: 2328
  • days_rel: 40
  • days_push: 8
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

2292 stars · 96 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Color.js is a JavaScript library for color conversion, manipulation, and color science, created by editors of the CSS Color specifications. It supports a wide range of color spaces (sRGB, Display P3, Lab/LCh, OKLab/OKLCh, REC.2020, and more) with proper gamut mapping, DeltaE color difference methods, chromatic adaptation, interpolation, and contrast calculations.

Use cases

  • convert colors between color spaces like srgb, p3, oklch, and lab
  • generate color palettes by interpolating between colors
  • check WCAG and APCA contrast ratios for accessibility
  • compute perceptual color difference with DeltaE 2000
  • map out-of-gamut colors to a smaller gamut like sRGB
  • parse and output CSS Color 4 color strings
  • manipulate color lightness, chroma, and hue programmatically

When to choose

  • you need accurate, standards-based color science rather than naive RGB math
  • you work with wide-gamut color spaces like Display P3 or REC.2020
  • you need CSS Color 4/5 compatible color parsing and output regardless of browser support
  • you want a dependency-free, tree-shakeable library usable in browser or Node

When to avoid

  • you only need simple hex/rgb string parsing and tweaking with minimal bundle size
  • you need image-level pixel processing rather than individual color values
  • you require a tiny zero-config utility and don't care about color space correctness

Facets

library · maturity active

image-processing ui-components developer-tools web-development frontend graphics accessibility browser cross-platform color-science color-spaces css-color-4 oklch gamut-mapping color-conversion delta-e interpolation esm dependency-free javascript nodejs

10 sources

Member repositories

RepositoryRoleHealth v2
color-js/color.jsmain97

For agents

markdown · JSON · MCP: product_card(name="color-js/color.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem