🎨

Color Palette Extractor

Upload any image and extract its dominant colors using k-means clustering. Copy HEX, RGB, or HSL values instantly — or export as CSS, JSON, or PNG.

Drop an image here

PNG, JPG, WebP, GIF, AVIF — processed entirely in your browser

or
Browse file
Uploaded image
Extracted Palette
Clustering colors…
🎨 Upload an image and click Extract to see the palette here.
Advertisement
How to use
  1. Upload an image (drag & drop, browse, or paste with Ctrl/Cmd V).
  2. Pick how many colors and a sort order, then click Extract.
  3. Click any HEX / RGB / HSL chip to copy, or export the whole palette as PNG, CSS, or JSON.
FAQ

It runs k-means clustering on a sampled subset of the image's pixels — typically converges in under 12 iterations and groups similar colors into the requested number of clusters.

4–6 for a minimal brand palette, 6–8 for a UI color system, 8–12 for detailed photo analysis. More colors reveals subtle tones; fewer keeps the most dominant ones.

No. All analysis runs in your browser on a hidden canvas. Safe for confidential brand assets and NDA-protected client files.