Map Extract
Free tool

Extract colours from an image

Load a logo or a screenshot and get its main colours as HEX codes, each with the share of the picture it covers. Then click any spot to pick an exact colour by hand.

Runs in your browser. Nothing you enter is uploaded.

Getting the colours

  1. Set how many colours

    Choose between 2 and 12 with the slider before you load the image; 6 is the default. If you change it later, choose the image again.

  2. Choose the image

    A logo, photo or screenshot. The main colours appear as swatches, largest share first.

  3. Pick precise colours

    Click anywhere on the picture to add that colour to a picked list, newest first. Sample a single pixel or average a 3 x 3 or 5 x 5 patch.

  4. Copy

    Click a swatch to copy one code, or use the buttons to copy all the found or picked colours.

Example: tailoring a proposal to a prospect's brand

A marketing consultant preparing a proposal for a family-run garden centre wants the document to echo the centre's own colours. She saves the logo from the centre's website and loads it with 4 colours to find.

The swatches show a dominant green, a cream, a darker green and a small share of terracotta, each with its percentage. Clicking the terracotta lettering with a 3 x 3 average gives a cleaner code than the automatic swatch, because it avoids the blended edge pixels.

Input
garden-centre-logo.png, colours to find 4, pick on the lettering (3 x 3)
Result
4 main colours with their shares, plus one picked colour

Automatic swatches versus picking

The automatic colours come from a reduced copy of the image, grouped into the number you asked for. They tell you what dominates, which is why a photo of a shop front may be mostly grey pavement and sky. The share percentages make that obvious.

Picking reads the exact colour at the spot you click, from a larger copy of the image. Averaging a small patch smooths out noise in photos and anti-aliased edges in logos.

Questions people ask

How do I find the colours used in a logo?

Load the logo here and set the number of colours to roughly how many you can see, often 3 to 5. The main colours appear as HEX swatches with the share of the image each covers. For an exact match, click a solid area of the logo to pick that colour directly.

Why does the palette include colours I did not expect?

Anti-aliased edges, shadows and backgrounds all contain colour, and the extractor counts every visible pixel. Lower the number of colours, crop the image to the part you care about, or pick colours by clicking instead.

What does the percentage on each swatch mean?

It is the share of the sampled pixels that were grouped into that colour. A logo on a white background will usually show white as the biggest share, which tells you the background is part of the image.

Where your data goes

The image is analysed in your browser and is never uploaded. Picked colours are held only on this page.

Checked against the tool on

Top