davidmerfield/randomColor
A tiny script for generating attractive colors observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 55
- Release rhythm 27
- 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: n/a
- age_days: 4530
- days_rel: 273
- days_push: 273
- n_releases_24m: 1
Adoption not part of the score
6124 stars · 408 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A tiny JavaScript library that generates attractive random colors, with options to control hue, luminosity, count, seed, and output format. It works in the browser and on Node.js and has been ported to many other languages.
Use cases
- generate random colors for ui placeholders
- create attractive color palettes for charts
- seeded random color generation for tests
- generate colors of a specific hue or luminosity
- assign random colors to tags or avatars
When to choose
- you need aesthetically pleasing random colors in JavaScript
- you want control over hue, luminosity, or output format
- you need reproducible colors via seeds
When to avoid
- you need a full color palette designer or theme generator
- you need perceptually uniform color scales
- you work primarily in another language (use one of its ports)
Facets
library · maturity stable
data-generation ui-components web-development frontend graphics browser color-generation random-colors hex-colors color-palette seeded-random nodejs javascript
2 sources
- readme: https://github.com/davidmerfield/randomColor · fetched 2026-08-28 · a3cacc9956e7
- registry_npm: https://registry.npmjs.org/randomcolor · fetched 2026-08-29 · ff7bfc9afaeb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| davidmerfield/randomColor | main | 54 |
For agents
markdown · JSON · MCP: product_card(name="davidmerfield/randomColor")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem