# node-vibrant

> Extract prominent colors from an image. Supports both node and browser environment.

Latest version **4.0.4** (published 2026-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-vibrant
pnpm add node-vibrant
yarn add node-vibrant
bun add node-vibrant
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.0.4 |
| Published | 2026-01-27 |
| First published | 2015-06-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 19.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2450 |
| Author | crutchcorn |
| Maintainers | akfish, crutchcorn |
| Keywords | color, detection, varation, image, picture, canvas, vibrant, muted, colour |

## Links

- npm: https://www.npmjs.com/package/node-vibrant
- Repository: https://github.com/Vibrant-Colors/node-vibrant
- Homepage: https://vibrant.dev
- Issues: https://github.com/Vibrant-Colors/node-vibrant/issues
- Funding: https://github.com/sponsors/crutchcorn
- npm.io page: https://npm.io/package/node-vibrant

## Dependencies (6)

- [@types/node](https://npm.io/package/@types/node.md) ^18.15.3
- [@vibrant/core](https://npm.io/package/@vibrant/core.md) ^4.0.4
- [@vibrant/image-node](https://npm.io/package/@vibrant/image-node.md) ^4.0.4
- [@vibrant/image-browser](https://npm.io/package/@vibrant/image-browser.md) ^4.0.4
- [@vibrant/quantizer-mmcq](https://npm.io/package/@vibrant/quantizer-mmcq.md) ^4.0.4
- [@vibrant/generator-default](https://npm.io/package/@vibrant/generator-default.md) ^4.0.4

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 4.0.4 (latest) — 2026-01-27
- 4.0.3 — 2025-01-15
- 4.0.2 — 2025-01-15
- 4.0.1 — 2025-01-13
- 4.0.0 — 2024-12-26
- 4.0.0-beta.1 — 2024-12-26
- 4.0.0-alpha.5 — 2024-12-19
- 4.0.0-alpha.4 — 2024-12-17
- 4.0.0-alpha.3 — 2024-12-16
- 4.0.0-alpha.2 — 2024-12-16
- 4.0.0-alpha.1 — 2024-12-15
- 3.2.1-alpha.1 — 2020-10-14
- 3.1.6 — 2020-10-14
- 3.1.5 — 2019-11-27
- 3.1.4 — 2019-08-24
- … 29 more at https://npm.io/package/node-vibrant/versions

## README

# node-vibrant

Extract prominent colors from an image.

---
_Source: https://npm.io/package/node-vibrant · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
