hsluv/hsluv
Human-friendly HSL, website and math observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 5223
- days_rel: n/a
- days_push: 17
- n_releases_24m: 0
Adoption not part of the score
1344 stars · 55 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
HSLuv is a human-friendly alternative to HSL built on the perceptually uniform CIELUV color space, with a reference implementation written in Haxe that compiles to many languages. This repository hosts the project website and reference math for converting colors to HSLuv and HPLuv coordinates.
Use cases
- generate perceptually uniform color palettes
- convert colors between HSLuv and RGB
- pick colors with consistent perceived lightness
- build color pickers with human-friendly saturation values
- ensure accessible color contrast in UI design
- learn how CIELUV polar coordinates work
When to choose
- you need color manipulation with perceptually uniform lightness and saturation
- you want a mathematically defined, MIT-licensed color space with implementations in many languages
- you are designing palettes or themes where HSL's uneven lightness causes problems
When to avoid
- you just need simple RGB/HSL conversion without perceptual uniformity
- you need wide-gamut or HDR color spaces beyond sRGB
- you need a ready-made GUI color picker rather than a color math library
Facets
library · maturity stable
math ui-components graphics web-design cross-platform color-space hsluv hpluv cieluv color-palettes haxe perceptual-uniformity algorithms web
2 sources
- readme: https://github.com/hsluv/hsluv · fetched 2026-08-28 · 6b6b26af215e
- homepage: https://www.hsluv.org/ · fetched 2026-08-29 · 872958036de9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hsluv/hsluv | main | 76 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem