bgrins/TinyColor
Fast, small color manipulation and conversion for JavaScript observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: 5544
- days_rel: n/a
- days_push: 798
- n_releases_24m: 0
Adoption not part of the score
5245 stars · 443 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
TinyColor is a small, fast, dependency-free JavaScript library for parsing, manipulating, and converting colors. It accepts permissive input formats (hex, RGB, HSL, HSV, names) and provides conversions plus utility functions like lighten, darken, and color scheme generation.
Use cases
- convert colors between hex, rgb, hsl, and hsv in javascript
- parse user-typed color strings permissively
- lighten or darken a color programmatically
- generate color schemes like triad, tetrad, analogous, or monochromatic
- find the most readable text color for a background
- manipulate css colors in a browser or node app
When to choose
- you need lightweight color parsing and conversion with zero dependencies
- you want permissive handling of many color input formats
- you need color manipulation utilities like lighten, saturate, or greyscale in javascript
When to avoid
- you need a full color picker UI component
- you require wide-gamut or color-space-accurate conversions like OKLCH or Lab
- you need color management for images or graphics rendering pipelines
Facets
library · maturity stable
serialization developer-tools web-development frontend graphics browser cross-platform color-manipulation color-conversion color-parsing javascript no-dependencies nodejs
2 sources
- readme: https://github.com/bgrins/TinyColor · fetched 2026-08-28 · 7e0a0005752b
- homepage: https://bgrins.github.io/TinyColor/ · fetched 2026-08-29 · 81c7b42156dc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bgrins/TinyColor | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="bgrins/TinyColor")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem