Drop an image here
or click to select a file, or paste
Palette Extractor clusters the colours in your image and surfaces them as a palette you can browse, reshape with strategies, and copy in any notation. Useful for moodboards, brand exploration, illustration references, or matching CSS colours to a photo. Everything runs locally in your browser.
Click a swatch to select it; the panel shows the colour value in your chosen notation along with the closest colour name. Use Copy to put the value on the clipboard. Press Space at any time to re-extract.
The image is scaled to a small thumbnail and clustered with k-means in the OKLAB colour space, which keeps perceived hue and lightness close to how the eye sees them. Each strategy then re-ranks the clusters with a different scoring function.
Dominant ranks by cluster size, Vibrant favours saturation, Muted favours desaturation, Light and Dark sort by luminance, Warm and Cool prefer reds/oranges or blues/greens, and Accent picks rare colours far from the dominant set.
K-means initialises with random seeds, so a fresh extraction can settle into slightly different clusters even on the same image. Press Space (or use the shuffle action) to re-run with new seeds when you want a different angle.
No. The image is decoded to a canvas, downsized for clustering, and processed in your browser. Nothing is sent anywhere.
Asking for fewer colours forces the ranker to drop near-duplicates and pick representatives that cover more of the image. Asking for more colours surfaces lower-ranked clusters that would otherwise be hidden.