Color Toolkit
Palette from Image — Extract Dominant Colors from Any Image
Free color palette extractor. Upload any image to extract dominant colors using k-means clustering. Get HEX, RGB, HSL values. Adjustable palette size and PNG export.
FAQ
How does color extraction work?
The tool reads image pixel data using the Canvas API, then applies simplified k-means clustering to group similar colors and find the most dominant ones.
What image formats are supported?
All common image formats are supported: PNG, JPEG, WebP, GIF, SVG, and BMP. The image is processed entirely in your browser.
Can I adjust how many colors are extracted?
Yes. Use the slider to choose between 3 and 10 colors. More colors give you a broader palette, fewer colors give you the most dominant ones.
Can I export the palette?
Yes. Click the Export button to download the palette as a PNG strip showing each color with its HEX value.