Color Palette Extractor
Get the 12 most common colours in any image as HEX codes. Click a swatch to copy it. Runs in your browser.
Supported formats
Supported input formats: JPG, PNG, WEBP, GIF
Supported output formats: HEX
Drop in a photo, a screenshot or a logo and get its 12 most common colours as HEX codes, ready to paste into CSS, Figma, Canva or a brand guide.
It is useful for matching a website to a product photo, building a theme from a mood image, or checking which colours a competitor’s design really uses.
How the colours are picked
Common, not prominent. The palette ranks colours by how many pixels use them. A small bright logo on a large grey background will rank below the grey. Crop the image to the area you care about first if a minor accent is what you want.
Similar shades are grouped together. Each channel is rounded into broad steps, so close shades merge into one swatch and the HEX code is a representative of that group rather than one exact pixel. For an exact value from one spot, use an eyedropper in your design tool.
Transparent areas are ignored. Pixels that are fully or mostly transparent are skipped, so a logo on a transparent background gives the logo’s colours, not black or white.
Check contrast before using a palette for text. Two colours that look good together can still be unreadable as text on background. Test the pairs you pick against WCAG contrast guidelines.
Common questions
How do I copy a colour?
Click a swatch and its HEX code is copied to your clipboard.
Why is my main brand colour missing?
Colours are ranked by how much of the image they cover. If the brand colour is a small accent, crop the image around it and extract again.
Are the HEX values exact?
They are close representatives of groups of similar shades, which keeps the palette short and useful. Use an eyedropper when you need the exact value of one pixel.
Is my image uploaded?
No. The colours are counted on a canvas in your browser.