graypegg/chromatism
:rainbow: A simple set of utility functions for colours. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
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: n/a
- age_days: 4022
- days_rel: n/a
- days_push: 907
- n_releases_24m: 0
Adoption not part of the score
1763 stars · 37 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Chromatism is a small JavaScript utility library for colour manipulation, offering conversions between many colour modes (RGB, HSL, CIELAB, CIEXYZ, etc.) plus transformations like complementary, triad, and tetrad generation, hue shifting, blending, and greyscale/sepia filters. It also includes colour metering functions such as colour difference, colour temperature, and accessible foreground text colour determination.
Use cases
- convert colors between rgb hsl cielab and other color spaces
- generate complementary triad and tetrad color palettes
- shift the hue or brightness of a color
- find an accessible text color for a background
- compute the difference between two colors
- create a fade or gradient between two colors
- apply chromatic adaptation for a white point
When to choose
- you need a lightweight, dependency-free color utility in JavaScript for browser or Node
- you work with less common color spaces like CIELAB, CIEXYZ, or illuminants
- you need color harmony generation (triads, tetrads, complementary) or accessibility checks
When to avoid
- you need GPU-accelerated or image-wide pixel processing rather than per-color operations
- you need a full color design system or theme generation framework
- you require an actively developed project with a guaranteed license
Facets
library · maturity maintenance
image-processing ui-components web-development frontend graphics browser cross-platform color color-conversion color-spaces hsl rgb cielab ciexyz color-harmony accessibility chromatic-adaptation color-difference javascript nodejs
1 source
- readme: https://github.com/graypegg/chromatism · fetched 2026-08-28 · a5f8d3ed89e9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| graypegg/chromatism | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="graypegg/chromatism")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem