● processed entirely in your browser — photo never uploaded

Color palette from a photo

Upload a room photo, fabric swatch, or inspiration pic (including iPhone HEIC) and pull out its dominant colors as hex codes.

Click or drop a photo here

How it works

The photo is drawn onto a small (100×100) canvas to keep processing fast, then every opaque pixel is sorted into a bucket by rounding its red, green, and blue values to the nearest 32 — a simple form of color quantization — and the six most populous buckets become your palette, each shown as the average color of the pixels inside it. iPhone HEIC/HEIF photos are converted to JPEG first using the heic2any library, since browsers can't decode HEIC natively.

FAQ

Why does the palette group similar colors together instead of showing exact pixel colors?
Because a real photo has thousands of nearly-identical shades of each color — bucketing every pixel's RGB values to the nearest 32 (a technique called quantization) groups those near-duplicates together so the six swatches represent genuinely distinct dominant colors instead of six near-identical shades.
Does uploading an HEIC photo send it anywhere for conversion?
No — the HEIC-to-JPEG conversion runs in your browser using a JavaScript library (heic2any); your photo is never uploaded to a server at any point.

Free, unlimited, no account. If this saved you a paid tool, a small thanks is appreciated.

Say thanks — $3