# davidmerfield/randomColor

A tiny script for generating attractive colors

Repository: https://github.com/davidmerfield/randomColor
Canonical: https://ross.abutalabs.com/products/randomcolor
Language: JavaScript
License: CC0-1.0
License Family: permissive
Last push: 2025-12-03T08:17:42+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 55, release rhythm 27, longevity 100
- inputs: {"age_days": 4530, "days_push": 273, "days_rel": 273, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6124, forks 408 (observed 2026-08-28T04:09:36.210888+00:00)

## What it is
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
- artifact type: library
- maturity: stable
- function: data-generation, ui-components
- domain: web-development, frontend, graphics
- platform: browser
- tags: color-generation, random-colors, hex-colors, color-palette, seeded-random, nodejs, javascript

## Member repositories
- davidmerfield/randomColor (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:36.210888+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:59.436450+00:00, confidence not recorded.
  - readme: https://github.com/davidmerfield/randomColor (fetched 2026-08-28T04:09:36.210888+00:00, sha a3cacc9956e7)
  - registry_npm: https://registry.npmjs.org/randomcolor (fetched 2026-08-29T08:44:45.406639+00:00, sha ff7bfc9afaeb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
