fengsp/color-thief-py
Grabs the dominant color or a representative color palette from an image. Uses Python and Pillow. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4157
- days_rel: n/a
- days_push: 1402
- n_releases_24m: 0
Adoption not part of the score
1110 stars · 124 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Color Thief is a Python library that extracts the dominant color or a representative color palette from an image using the median cut algorithm, built on Pillow. It is a Python port of Lokesh Dhakar's original Color Thief JavaScript project.
Use cases
- extract dominant color from an image in python
- generate a color palette from a photo
- get rgb color scheme for website theming from an image
- analyze image colors with pillow
- pick background color matching an uploaded image
When to choose
- you need a quick dominant color or small palette from an image in Python
- you want a tiny dependency-light library built on Pillow
- you are porting behavior from the JavaScript Color Thief project
When to avoid
- you need perceptually uniform color quantization or OKLCH color spaces
- you need video frame palette extraction or live color observation
- you need actively maintained software with recent releases and clear licensing
Facets
library · maturity maintenance
image-processing image-processing graphics python cross-platform color-palette dominant-color pillow median-cut
2 sources
- readme: https://github.com/fengsp/color-thief-py · fetched 2026-08-28 · 76099dc70e99
- homepage: http://lokeshdhakar.com/projects/color-thief/ · fetched 2026-08-29 · 421ff2b9737c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fengsp/color-thief-py | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="fengsp/color-thief-py")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem