Color Palette Extractor

Extract dominant colors from any image using k-means clustering. Nothing uploaded.

Drop an image here or click to upload

JPEG · PNG · WebP · AVIF · up to 50 MB

k-means clustering

Uses k-means++ to find the most representative colors in your image — same algorithm used in professional design tools.

Ready to paste

Click any swatch to copy the hex code. Copy the full CSS variables block for instant use in your stylesheets.

Nothing uploaded

Color extraction runs entirely in your browser — no server involved, no data sent anywhere.