Skip to content
OneFileConverter

Get a colour palette from an image

Find the colours that make up a photo, logo or design — ready to paste into CSS, Figma or Canva.

Formats
JPG, PNG, WebP +14
Up to
100 MB per file
Price
Free, no sign-up
Watermark
No watermarks

Drop a file here

or choose from your device

Processed on your device · nothing is uploaded

JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, TIFF, PSD, RAW, SVG, TGA, PPM, PCX, DDS, ICO, JPEG XL · up to 100 MB per file

How to get a colour palette from an image

  1. Add an image.
  2. Choose how many colours you want (6 is a good start).
  3. Click Get colours — copy the hex codes or download the swatch image.

What you get

The result is a list of hex codes, most common first, each with the share of the image it covers, plus a PNG swatch strip with one 160 px square per colour and its code printed underneath. You can ask for 3 to 16 colours. If a group ends up covering no part of the image, it's left out, so occasionally fewer colours than requested are shown.

Logos versus photos

A flat logo with a few solid colours gives clean results at a low count. Photos contain thousands of shades, so each code stands for a whole group: a sunset at 6 colours returns broad bands of orange, pink and blue rather than every tone. Raise the count to separate shades, and remember that the most common colour is often a background such as a white wall or the sky. Animated GIFs are read from their first frame.

Are my images safe?

Yes. Your images are only used to create your result — they’re never shared and never used to train AI.

How are the colours chosen?

Similar colours are grouped together and each group's average is shown, ordered by how much of the image it covers (the percentage next to each code).

Why isn't a tiny accent colour listed?

Colours covering a very small area merge into a bigger group. Ask for more colours to see smaller accents.

Are the hex codes exact pixel values?

They're averages of groups of similar colours, measured on a reduced copy of the image no more than 200 px on its longest side. A code can differ slightly from a single pixel picked in an image editor, so check exact brand colours against the original file.