Free tool — runs in your browser

Extract colors from
any image, instantly

Upload a PNG, JPG or WebP. Get the dominant colors as hex codes — click any swatch to copy. Nothing uploaded, nothing stored.

No account needed 100% private Click to copy hex Instant results
🎨

Drop your image here

PNG, JPG or WebP · Processed locally in your browser

Uploaded image
Click anywhere on the image to pick a color

Why use PuffPix to extract colors?

Instant results

No upload, no waiting. Colors are extracted in milliseconds directly in your browser.

🔒

100% private

Your image never leaves your device. Everything runs locally using JavaScript.

🎯

Smart clustering

Uses k-means clustering to group similar pixels and surface the most visually dominant colors.

📋

One-click copy

Click any swatch to copy its hex code, or grab all at once for your design tool.

Frequently asked questions

Does my image get uploaded to a server?
No. Everything runs in your browser using JavaScript. Your image never leaves your device.
How are the colors extracted?
We use k-means clustering on the image pixels. The algorithm groups similar colors together and returns the center of each group, sorted by how much of the image each color covers.
Can I choose how many colors to extract?
Yes — choose 4, 6, or 8 colors using the toggle above the dropzone. More colors gives more detail; fewer colors gives a cleaner palette.
What image formats are supported?
PNG, JPG and WebP.
What can I use the hex codes for?
Brand color extraction, UI design, matching image tones in CSS, generating consistent color palettes for presentations or social media graphics.

Also from PuffPix