Palette from Image
Extract dominant color swatches from a photo and copy HEX/CSS tokens or export a palette card.
Drop an image hereJPEG, PNG, WebP, AVIF, BMP, GIF · or paste ⌘V
Loading image engine…
Images are processed in your browser.
How to use Palette from Image
Choose or drop an image (or try the sample) to extract its dominant colors.
Choose how many swatches to extract and click any swatch to copy its HEX code or copy CSS variables.
Optionally export the extracted palette card as a PNG image.
Frequently asked questions
How are palette colors chosen?
PufferKit groups opaque pixels by color density and merges near-duplicates so swatches stay visually distinct.
Can I copy the palette for CSS?
Yes. Use Copy CSS variables to copy ready-to-paste custom properties.
Are transparent pixels counted?
No. Semi-transparent and fully transparent pixels are excluded when building the palette.