Color Palette from Image

Auto-extract dominant colors from any image. Median-cut quantization, browser-only.

Drop an image here or click to browse

JPG, PNG, WebP — runs in your browser

Use cases

How median-cut works

The algorithm bins all the image's pixels into a 3D RGB cube. It repeatedly splits the most-populous bucket along its longest axis until you have N buckets, then averages the colors in each. It's fast, deterministic, and gives well-distributed palettes.

Privacy

Everything runs in your browser. Nothing is uploaded.