At One Place

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

Sources

  1. Calculated on this page — At One Place

How these figures are compiled and checked