Color Palette Generator
Extract a 12-color palette from any image using k-means clustering algorithm.
- Free to use
- Browser-based processing
- No account required
- Files never uploaded
About Color Palette Generator
The Color Palette Generator extracts a 12-colour palette from any image using k-means clustering to find the dominant colours, returning each as HEX, RGB and HSL. It's a fast way to build a cohesive palette from a photo or piece of artwork. The analysis runs in the browser with no upload.
How to Use Color Palette Generator
- 1
Upload an image
Add the image you want to build a palette from.
- 2
Generate the palette
The tool clusters the image's colours and surfaces the dominant ones.
- 3
Copy the colours
Copy any swatch as HEX, RGB or HSL for your project.
Frequently Asked Questions
How are the colours chosen?
It uses k-means clustering to group similar pixels and pick the most representative colours, so the palette reflects the image's dominant tones.
How many colours do I get?
Up to twelve, ordered by prominence, each available in HEX, RGB and HSL.
Does the palette change each time?
Clustering can vary slightly between runs, but the dominant colours stay consistent for a given image.
Is my image uploaded?
No. Palette extraction runs entirely in your browser.