Image palette extractor
Extract common colors, HEX values and sample shares; download the palette and its data.
How to use
Select an image and color count, then process. Copy HEX values or download the palette PNG and data JSON.
An image with equal red and blue halves gives two colors, each with about half the visible sample weight.
Support & limits
Up to 65,536 regularly spaced source pixels are sampled. Only when every sample is transparent, a full scan runs within the 4-million-pixel bound. Four-bit-per-channel RGB bins use alpha-weighted averages and omit fully transparent pixels. Approximate shares refer to all evaluated visible pixels, so selected colors may not sum to 100%. This is a technical estimate, not design advice.
Common questions
Why are fewer colors returned?
Only existing color bins are returned when samples contain fewer bins. A fully transparent image cannot produce a palette.