Extract color palette from image
Extract a ranked color palette from visible image pixels.
Local processing · Nothing is uploaded · 20 MB / 4 megapixel limit
Input & settings
Result
How to use
Choose how many populated color groups to return, then download the JSON palette.
Limits and behavior
Uses 4-bit-per-channel histogram bins ranked by alpha-weighted coverage. Percentages refer to the entire visible image and can total less than 100% when bins are omitted. Still PNG, JPEG and WebP only; 20 MB, 4 megapixels and 4,096 pixels per side. Processing stays on your device. Exports apply orientation and discard source metadata. PNG output preserves transparency unless the selected operation composites it.
Get a color palette from a picture
Sample a photo's visible colors and summarize useful color groups for design inspiration.
Does palette extraction return exact branded colors?
No. Sampling and quantization can approximate source colors; verify official brand values separately.
Related resource: Convert image to grayscale
Worked example: find two colours in a graphic
We tested a 64 × 40 PNG with a red region (#e24522) and a blue region (#133fc0). The exported JSON palette reported red at 78.125% and blue at 21.875% of the visible pixels.
The tool groups similar pixel colours using a histogram, rather than identifying objects by name. A palette derived from a photograph may differ from the exact colours used in a design file or brand specification.
Want just the single largest colour?
Use . For icons and logos, confirm the chosen colour values against the source artwork before publishing.