imagetools.to
← All Tools
🎨

Colour Palette Extractor

Extract dominant colours from any image — HEX, RGB & HSL — free, instant

🎨
Drop your image here
Extract the dominant colour palette from any photo
Get HEX, RGB or HSL codes — click any colour to copy
Image
Number of Colours
8
Colour Format
Colour Palette
1
Upload ImageDrop any photo, logo or artwork.
2
Choose CountSet how many colours to extract (3-16).
3
ExtractClick Extract Palette to run k-means analysis.
4
Copy ColoursClick any swatch to copy the HEX, RGB or HSL value.

Free Image Colour Palette Extractor — No Upload Required

Extract the dominant colour palette from any image using k-means clustering. Get exact HEX, RGB or HSL colour codes from photos, logos, artwork or screenshots — all processed locally in your browser with no upload required.

What is K-Means Colour Extraction?

K-means clustering is a machine learning algorithm that groups similar pixels together. Applied to images, it identifies the most representative colours by finding cluster centres in the colour space. The result is a palette of the most visually prominent colours in the image.

Uses for Colour Palette Extraction

Designers use colour extraction to build brand colour palettes from reference images. Developers use it to generate CSS variables from design assets. Photographers use it to analyse the mood and tone of their work. Artists use it to study the colour composition of paintings and illustrations.

Copy Colours for CSS, Figma and Design Tools

Click any colour swatch to instantly copy the colour value to your clipboard in HEX, RGB or HSL format — ready to paste into CSS, Figma, Sketch, Adobe XD or any design tool.