Extract colours from an image
Nothing is uploaded — the file is processed entirely in your browser.
Pull the dominant colours out of an image as a palette.
How it works
Extracts the dominant colours from an image and shows them as a palette with hex values and contrast figures.
Colours are clustered rather than simply counted. Counting exact pixel values gives a useless answer, because a photograph of a blue sky contains thousands of slightly different blues and none of them individually dominates. Grouping similar colours and reporting cluster centres is what produces a palette anyone would recognise as the image’s colours.
The most common colour is often not the most useful one. Photographs are usually dominated by a large neutral area — sky, wall, background — while the colour that characterises the image is a smaller, more saturated region. The palette is ordered by prominence but the interesting entry is frequently second or third.
This tool runs entirely in your browser. Nothing you enter is sent to a server, logged or stored, and the page keeps working with the network disconnected.
Common questions
- Why is the dominant colour a dull grey?
- Because large neutral areas — sky, walls, background — usually occupy the most pixels. The colour that characterises an image is often the second or third entry.
- How are the colours chosen?
- By clustering similar pixels and reporting cluster centres. Counting exact values would return thousands of near-identical shades and no useful answer.
Related pages
- Colour converter Convert a colour between HEX, RGB, HSL and CMYK, with a contrast check against black and white.
- Random colour and palette generator Generate random colours or a harmonious palette, with contrast checked.
- Colour shades and gradient generator Build a tint and shade scale from one colour, or a gradient between two.
- Percentage calculator Work out a percentage of a number, what percent one number is of another, and percentage change.
- Loan and EMI calculator Monthly payment, total interest and total repaid for any loan amount, rate and term.
- BMI calculator Body mass index from height and weight, in metric or imperial, with what the number does and does not mean.
- Word and character counter Words, characters, sentences, paragraphs and reading time, counted as you type.
- Password generator Generate strong random passwords in your browser, with the entropy shown.
- Typing speed test Measure words per minute and accuracy on a one, two or five minute test.
- Image format converter and compressor Convert between JPEG, PNG and WebP, and compress with a quality slider.
Sources
- Calculated on this page — At One Place