Task path / input to outcome
How to extract a color palette from an image
- 01
Choose the image
Select Choose file — or drop the image onto the zone — and open a PNG, JPEG, or WebP up to 12 MiB, at most 8,192 pixels per side and 24,000,000 pixels in total. The pixels are decoded locally; nothing is uploaded.
- 02
Set the palette size
Choose between 1 and 12 colors with the Palette colors slider. Fewer colors give a broader summary — three to five is a good starting point for a page palette — while more colors surface accent shades that a small palette would absorb into their neighbors. 1–12. HEX / RGB / HSL / %.
- 03
Extract the palette
Press Extract palette. The tool groups decoded RGB values into fixed 16-level channel buckets, ignores fully transparent pixels, and weights each remaining pixel by alpha. It ranks those buckets by weighted share of the visible analyzed sample. Images above 4,000,000 pixels use a downscaled copy, so the palette is an estimate rather than an exact census of the original file.
- 04
Copy or download the colors
Each swatch shows HEX and an approximate share of the visible analyzed sample. Click a swatch to copy its HEX code, or Download JSON with hex, rgb, alpha, and share fields. The top 1–12 buckets are returned; their shares need not add up to 100%.