# Vibrant-Colors/node-vibrant

🎨 Extract prominent colors from an image

Repository: https://github.com/Vibrant-Colors/node-vibrant
Canonical: https://ross.abutalabs.com/products/node-vibrant
Homepage: https://vibrant.dev
Language: TypeScript
License Family: other
Topics: canvas, color, colour, detection, image, muted, picture, varation, vibrant
Last push: 2026-01-27T22:42:04+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 64, release rhythm 68, longevity 100
- inputs: {"age_days": 4108, "days_push": 218, "days_rel": 218, "gap_med": 9.0, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2442, forks 115 (observed 2026-08-28T04:06:52.448935+00:00)

## What it is
node-vibrant is a TypeScript library that extracts prominent color palettes (vibrant, muted, light/dark variants) from images. It provides an identical API for Node.js, browser, and Web Worker environments.

## Use cases
- extract dominant colors from an image
- generate a color palette from a picture
- build dynamic theming based on album art
- get vibrant and muted swatches from images in the browser
- extract colors from images in Node.js
- run color quantization in a web worker

## When to choose
- you need prominent color extraction in JavaScript/TypeScript across Node and browser
- you want consistent palette results with vibrant/muted/light/dark swatches
- you want to offload quantization to a Web Worker to avoid blocking the UI

## When to avoid
- you need pixel-perfect identical palettes across different browsers or machines, since canvas rendering is platform-dependent
- you need color extraction in a non-JavaScript environment
- you need full image editing or manipulation rather than palette extraction

## Facets
- artifact type: library
- maturity: active
- function: image-processing, sdk
- domain: image-processing, web-development, frontend
- platform: browser, cross-platform
- tags: color-extraction, palette, canvas, typescript, web-worker, theming, nodejs, web-server

## Member repositories
- Vibrant-Colors/node-vibrant (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:52.448935+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-30T02:30:41.472086+00:00, confidence not recorded.
  - readme: https://github.com/Vibrant-Colors/node-vibrant (fetched 2026-08-28T04:06:52.448935+00:00, sha b66008ed736e)
  - homepage: https://vibrant.dev (fetched 2026-08-29T10:12:07.917989+00:00, sha 1bd62099dc78)
  - registry_npm: https://registry.npmjs.org/node-vibrant (fetched 2026-08-29T10:12:07.920702+00:00, sha 115c3ea417dd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
