- Home
- Image tools
- Get a colour palette from an image
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 · or paste it
JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, TIFF, PSD, RAW, SVG, TGA, PPM, PCX, DDS, ICO, JPEG XL · up to 100 MB per file
Related tools
- Adjust Brightness & ContrastChange brightness, contrast and saturation of photos.Accepts JPG · PNG · WebP +14
- Black & White ImageTurn colour photos into black and white (grayscale).Accepts JPG · PNG · WebP +14
- Compress ImageShrink JPG, PNG, WebP and AVIF — or hit an exact size in KB.Accepts JPG · PNG · WebP +14
More image tools
All image tools →- Resize Image
- Image Converter
- HEIC to JPG
- Image to Text
- Image to Word
- QR Code Generator
- Passport Photo Maker
- Barcode Generator
- EXIF Viewer
- Crop Image
- Combine Images
- Rotate Image
- Add Text to Image
- Watermark Image
- GIF Maker
- Blur & Pixelate Image
- Circle Crop Image
- Favicon Generator
- Add Border to Image
- Split Image into Grid
- Remove EXIF Data
- Which Format Is Smallest?
- Image to Base64
How to get a colour palette from an image
- Add an image.
- Choose how many colours you want (6 is a good start).
- 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.