# color-thief

Grab the color palette from an image using just Javascript. Works in the browser and in Node.

Canonical page: https://www.reposhelf.co.uk/projects/github/lokesh/color-thief.html

- Project ID: lokesh/color-thief
- Source: GitHub
- Original project: https://github.com/lokesh/color-thief
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-23T15:25:49.971Z
- Demo page loaded: 2026-11-12T12:59:47.942Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Extract dominant colors and palettes from images in the browser and Node.js.

- TypeScript — full type definitions included
- Browser + Node.js — same API, both platforms
- Sync &amp; async — synchronous browser API, async for Node.js
- Live extraction — observe\(\) watches video, canvas, or img elements and emits palette updates reactively
- Worker friendly — runs inside your own Web Worker via ImageBitmap or OffscreenCanvas

## Author-documented requirements and audience

> Extract dominant colors and palettes from images in the browser and Node.js.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/lokesh/color-thief/blob/master/README.md

Extraction checked: 2026-11-02T16:07:19.948Z

Last recorded source update: 2026-08-03T06:06:03.000Z

Saved release: v3.5.0 — 2026-08-02T23:30:53.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=lokesh%2Fcolor-thief). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
