# fengsp/color-thief-py

Grabs the dominant color or a representative color palette from an image. Uses Python and Pillow.

Repository: https://github.com/fengsp/color-thief-py
Canonical: https://ross.abutalabs.com/products/color-thief-py
Homepage: http://lokeshdhakar.com/projects/color-thief/
Language: Python
License: NOASSERTION
License Family: other
Last push: 2022-10-31T07:43:19+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4157, "days_push": 1402, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1110, forks 124 (observed 2026-08-28T04:03:37.467646+00:00)

## What it is
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
- artifact type: library
- maturity: maintenance
- function: image-processing
- domain: image-processing, graphics
- platform: python, cross-platform
- tags: color-palette, dominant-color, pillow, median-cut

## Member repositories
- fengsp/color-thief-py (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.467646+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-30T06:43:26.934167+00:00, confidence not recorded.
  - readme: https://github.com/fengsp/color-thief-py (fetched 2026-08-28T04:03:37.467646+00:00, sha 76099dc70e99)
  - homepage: http://lokeshdhakar.com/projects/color-thief/ (fetched 2026-08-29T12:47:12.812155+00:00, sha 421ff2b9737c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
