🎨 CSS & Design

Color Palette from Image

Drop a photo or logo — get its colour palette in seconds.

  • Freeno limits, no watermark
  • 0sign-ups or accounts
  • Privateruns on your device
  • Any devicephone, tablet or PC
Source image

    

How the colours are found

The image is scaled down and every pixel is grouped with similar colours using k-means clustering — the tool repeatedly moves each group’s centre to the average of its pixels until the groups settle. Each swatch is one group’s average colour, and the percentage shows how much of the image it covers. Transparent pixels in PNG logos are skipped, and you can ignore near-white and near-black areas to focus on the actual brand colours instead of the background.

Ideas

  • Pull a brand palette from a client’s logo.
  • Build a website theme that matches a hero photo.
  • Find matching colours for slides, posters or social posts from a product shot.
  • Check which colours dominate a design before printing.

Need the exact colour of one pixel instead? Use the Image Color Picker.

Images are processed by your own browser and never uploaded — there is no sign-up and no watermark.

Frequently asked questions

Why do I get slightly different colours each time?

k-means starts from random points; dominant colours stay the same, minor ones can shift a little.

Does it work with logos with transparent backgrounds?

Yes — transparent pixels are ignored.

How many colours should I extract?

5–6 for photos; 3–4 for simple logos.

Found it useful? Share the Palette from Image:

Last updated 2026-11-21 · Built by Vinayak Agarwal · Part of CSS & Design (37 tools)