All tools

Image Colour Palette

Pull the dominant colours out of an image as HEX and RGB codes.

Select an image

JPG, PNG, WebP — colours are read in your browser

Click to choose, or drop a file here

About extracting a colour palette

Pulling the main colours out of a photo or a design is the starting point for a brand palette, a slide theme, a UI mockup or matching a graphic to an image. This tool reads an image in your browser and gives you its dominant colours as HEX and RGB codes you can copy.

It downscales the image for speed and runs colour quantization — the same technique used to fit an image into a limited palette — to reduce it to the number of representative colours you ask for, from 2 to 12. Those are the tones that actually cover most of the image, not a sample of individual pixels, so the result is a usable palette rather than noise.

Click any swatch to copy its HEX or RGB value. Nothing is uploaded; the analysis runs entirely on your device.

Supported files

Accepts JPG, PNG, WebP and other images your browser can open. Produces a list of HEX and RGB colour codes.

Is my file uploaded?

No. The image is read and analysed entirely in your browser — it's never uploaded.

Common problems

The colours all look similar
A photo with a narrow colour range (a sunset, a forest) genuinely is mostly one hue. Lower the colour count for the few that matter.

How to Image Colour Palette

  1. 1

    Add your image

    Drop in a photo or graphic.

  2. 2

    Choose how many colours

    2 to 12 dominant colours.

  3. 3

    Copy the codes

    Click any swatch to copy its HEX or RGB value.

Related PDF tools

Image Colour Palette — frequently asked questions

How are the colours chosen?+

The image is reduced to your chosen number of representative colours using colour quantization — the dominant tones, not every pixel.

Is my image uploaded?+

No. It's read and analysed entirely in your browser.

What formats are the codes?+

HEX (#RRGGBB) and RGB — click either to copy it.

Can I get more than 12 colours?+

12 is the cap here — beyond that the extra colours are usually near-duplicates.

Do you upload my files to a server?+

No — every tool here processes your files entirely on your device, and nothing is uploaded to a server. The only exception is the AI tools, which send the extracted text (not the file) to Claude to do their work.

Is there a file size limit?+

There's no artificial limit we impose, but since processing happens in your browser, very large files (500+ MB or 1,000+ pages) are limited by your device's memory rather than by us.