Extract PNG Color Palette
Extract the most common colors from a PNG and display them as swatches.
Drop an image here
PNG, JPG, WebP, GIF or BMP. You can also paste an image.
No result yet
Options
How to use
- 1
Upload a PNG by clicking the upload area or dragging a file in.
- 2
Choose between average or exact color tones.
- 3
Set how many colors to extract.
- 4
Choose a sort order for the swatches.
- 5
Click Download to save the color palette as a PNG.
Example
Before640 × 427

After1056 × 184

Frequently asked questions
What is the difference between average and exact tones?
Average tones group similar colors together by rounding pixel values, producing a smaller set of broader colors. Exact tones keep every unique color value, which may produce many near-identical swatches.
Why are some colors missing from the palette?
The tool samples a subset of pixels for performance. Very rare colors in small areas may not appear in the extracted palette.
About this tool
Extract PNG Color Palette samples pixels from your image and finds the most frequent colors. Choose how many colors to extract, how to sort them, and whether to show usage percentages. Download the result as a PNG palette. All processing runs in your browser. Nothing is uploaded.