Skip to content
JS
Package

colorthief

Extract dominant colors and palettes from images — TypeScript, OKLCH, semantic swatches, live video extraction.

v3.5.0, 2 Aug 2026MITESM + CommonJSTypes: Bundled
$ npm install colorthief

Key numbers

As of 25 Sept 2026
Weekly downloads
545.2k
+352% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 month ago
v3.5.0
GitHub stars
13.6k
1.3k forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
45

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 771.1k (25 Aug 2026)Low 72.7k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

545,164 downloads last week, 2,651,365 in the last month. The 12-month change of +352% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
918 in total
Latest version
3.5.0, 2 Aug 20261 month ago
First published
27 Nov 2017
Last push to GitHub
3 Aug 202652 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
45
Dependents on npm
97

Major versions

  1. v3 first release 3.0.0, 2 Mar 2026
  2. v2 first release 2.0.2, 27 Nov 2017

Recent releases

VersionPublished
3.5.02 Aug 2026
3.4.12 Aug 2026
3.4.01 Jul 2026
3.3.16 Mar 2026
3.3.04 Mar 2026
3.2.04 Mar 2026
3.1.04 Mar 2026
3.0.02 Mar 2026
2.7.028 Feb 2026
2.6.09 Oct 2024
2.4.028 Feb 2023
2.3.26 Jul 2020
2.3.16 Jul 2020
2.3.04 Aug 2019
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
1.6 MB
Dependencies (0)
None
Peer dependencies (1)
sharp
npm install colorthief

CDN

jsDelivr: 1.3m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/colorthief@3.5.0/
  • unpkghttps://unpkg.com/colorthief@3.5.0/
  • esm.shhttps://esm.sh/colorthief@3.5.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.