Image Color Palette Extractor
Pull the dominant color palette out of any photo with hex codes and coverage shares.
Extract dominant colors from any image instantly in your browser. Free palette extractor with hex codes and coverage shares.
Calculator Inputs
About Color Palette
Pull the dominant color palette out of any photo with hex codes and coverage shares.
Upload a photo to downsample it, bucket every opaque pixel into 32,768 color cells, and list the top buckets as hex swatches with pixel shares. Near-duplicates merge naturally through quantization.
Palettes describe, not prescribe — always check text contrast before shipping combinations. Files stay in your browser.
Where it is used
Brand-matching designs to photography, building UI themes from hero images, and art direction research.
How to use the Color Palette
- Select Image — select a file (image/*) — JPG, PNG, WebP or GIF up to 25 MB..
- Colors To Extract — enter the value.
- Calculate — press the Calculate button to see the result instantly above.
Formula
Downscale to ≤60px → 5-bit/channel bucket histogram → top-N with shares.
Examples
Example
Frequently Asked Questions
- Why 5-bit buckets and not exact colors?
- Photos contain thousands of near-identical shades. Quantization merges the noise so dominant hues emerge instead of pixel lottery winners.
- Do transparent pixels count?
- No — pixels under 50% opacity are skipped, so PNG transparency never pollutes the palette.
- Can I get more than 8 colors?
- Eight covers design needs; beyond that shares fragment into noise. Re-run per region for detailed images.