Tool
Image Colour Picker
Drop a photo in and pull out the colours it is actually made of. Nothing is uploaded — the whole extraction runs inside your browser.
Nothing leaves your browser.
Dominant colours
What the extractor is doing
A photograph can contain hundreds of thousands of distinct colours, so the first job is to throw most of them away. The image is drawn onto a small canvas — around 140 pixels on the long edge — and each visible pixel is assigned to a coarse bucket based on its red, green and blue values. Buckets are then ranked by how many pixels landed in them, and the winners are averaged back into a single representative colour.
Finally, any candidate that is too close to one already chosen is discarded. Without that step you would get eight near-identical shades of the same blue sky, which is accurate but useless. The threshold is deliberately generous, so the eight results are visibly different from one another.
Reading the result honestly
The palette tells you what the image is made of, not what it feels like. A photo of a forest will return a lot of dark greens and very little else, even though the impression it gives is cool and calm rather than green. That gap between composition and impression is useful to know about before you build a whole brand on an extracted palette.
Two adjustments usually help. First, ignore any colour that appears with less than about five per cent of the pixels — it is probably a stray highlight. Second, take the extracted set into the palette generator and look at what the harmonies do with your favourite colour from it; the extracted palette is a starting point, not a finished scheme.
Practical uses
- Matching a website to existing photography. Extract the colours from the hero image, then pick one as the accent so the page and the picture agree.
- Planning an interior. Photograph the room in daylight and see which tones actually dominate, rather than which ones you remember.
- Building a mood board. Run several images through and keep the colours that recur — that overlap is the real palette.
- Checking a design against reality. If your brand blue never appears in the product photography, the two will always look slightly disconnected.
Why nothing is uploaded
Most online image tools send your file to a server, process it there and send back a result. That means your image exists on someone else’s disk, however briefly, and you have to trust their retention policy. This tool does not need a server: the browser can decode an image and read its pixels directly, and it has been able to do so for years.
The practical consequence is that you can safely use it with client work, unpublished product shots or personal photographs. It also works offline, and it is fast, because there is no round trip.
Frequently asked questions
Is my image uploaded anywhere?
No. The file is read with the browser’s own image and canvas APIs, so it never leaves your device and no copy is stored. There is no server involved at any point.
How are the dominant colours chosen?
The image is scaled down to around 140 pixels on its longest edge, then every visible pixel is grouped into coarse colour buckets. The largest buckets are kept, and near-duplicates are dropped so you get eight genuinely different colours rather than eight versions of the same grey.
What file types and sizes can I use?
JPG, PNG, WebP and GIF, up to 20 MB. Very large files will work but take longer to read, and there is no advantage to them — the extraction only samples a small version of the image.
Why are there no pure blacks or whites in the result?
There may be, if they genuinely dominate the image. But a photograph usually has very few truly neutral pixels, so the buckets tend to settle on slightly warm or slightly cool greys instead. That is accurate rather than a bug.
Can I use an extracted palette for a brand?
Careful — copyright in a photograph does not extend to its colours, but a palette lifted from someone else’s image may still be recognisably theirs. Use it as a reference point, then shift the hues until the result is your own.
Related tools
- Colour Palette GeneratorBuild a full palette from one base colour, with harmonies, tints and shades.
- Random Colour GeneratorSpin for a colour you would never have picked yourself.
- Colour ConverterMove a colour between HEX, RGB, HSL and CMYK without losing accuracy.
- Colour Contrast CheckerTest two colours against the WCAG AA and AAA thresholds.
- Colour Harmony GuideHow the six main harmonies work, and which one to choose.
- What Is a Colour Wheel?The definition, the 12 hue positions and a printable chart.