Get HEX, RGB or HSL codes — click any colour to copy
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.