# omgovich/colord

👑 A tiny yet powerful tool for high-performance color manipulations and conversions

Repository: https://github.com/omgovich/colord
Canonical: https://ross.abutalabs.com/products/colord
Homepage: https://colord.omgovich.ru
Language: TypeScript
License: MIT
License Family: permissive
Topics: color, parser, converter, hex, rgb, hsl, hsv, tiny, color-names, a11y, css-color, zero-dependency, lch, lab, hwb, xyz, hacktoberfest
Last push: 2026-08-24T09:43:33+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 66, longevity 100
- inputs: {"age_days": 2105, "days_push": 9, "days_rel": 13, "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 1885, forks 65 (observed 2026-08-28T04:05:48.983331+00:00)

## What it is
Colord is a tiny (1.8 KB brotlied), zero-dependency JavaScript/TypeScript library for high-performance color parsing, manipulation, and conversion. It supports CSS Color Level formats (HEX, RGB, HSL, HSV, HWB, LAB, LCH, XYZ, CMYK), is immutable, fully typed, and extendable via a plugin system.

## Use cases
- convert colors between hex, rgb, hsl, and lab formats
- parse css color strings in javascript
- lighten or darken a color programmatically
- check color contrast for accessibility
- generate color harmonies and mixes for a design system
- validate whether a string is a valid css color
- replace the heavy color.js library with a tiny alternative

## When to choose
- you need a very small, fast, dependency-free color library for browsers or Node.js
- you want strict CSS Color Level compliance and TypeScript types out of the box
- you need accessibility checks like contrast ratio and luminance
- you prefer an immutable, chainable API with plugin extensibility

## When to avoid
- you need canvas or image-based color processing rather than value manipulation
- you require advanced color science beyond the supported plugin formats
- you are working outside JavaScript/TypeScript ecosystems

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization, ui-components
- domain: web-development, frontend, web-design, accessibility, developer-tools
- platform: browser, cross-platform
- tags: color-manipulation, color-conversion, zero-dependency, typescript, immutable, plugin-system, css-color, tiny-bundle, a11y-contrast, hex-rgb-hsl-hsv-lab-lch, nodejs, web-server

## Member repositories
- omgovich/colord (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:48.983331+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-30T03:13:36.917988+00:00, confidence not recorded.
  - readme: https://github.com/omgovich/colord (fetched 2026-08-28T04:05:48.983331+00:00, sha 8f2ba60980db)
  - homepage: https://colord.omgovich.ru (fetched 2026-08-29T10:52:56.474365+00:00, sha 7eaa7c66804b)
  - registry_npm: https://registry.npmjs.org/colord (fetched 2026-08-29T10:52:56.476892+00:00, sha 8e0fbd7cd0e2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
