Extract Color Palette from Image (K-Means)

Extract Color Palette from Image (K-Means)

Local Processing

Extract a cohesive 2 to 16 color palette with percentage shares from any uploaded image file.

How It Works & Processing Standards

Extract a cohesive 2 to 16 color palette with percentage shares from any uploaded image file.

Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.

Current Limits

  • Desktop max file size: 40MB
  • Mobile max file size: 20MB

Choose palette (several colors) or one dominant color under "Task". Pixel colors are clustered in your browser to find the most frequent ones.

Large backgrounds can dominate the result. Crop to the part you care about for better accuracy.

What You Can Do

Palette
Extracts as many dominant colors as you choose.
One dominant color
A single color representing the whole image.

How to Use Extract Color Palette from Image (K-Means)

  1. 1
    Choose a taskPalette or one dominant color.
  2. 2
    Select an imagePick a photo or logo file.
  3. 3
    Copy colorsCopy the extracted codes.

Examples

Landscape palette
Input: A beach photo, 5 colors
Result: Five HEX codes in sky, sea and sand tones
Logo color
Input: A logo PNG
Result: One HEX for the color covering most of the logo

Common Use Cases

  • Choosing page or slide colors that suit a photo
  • Finding a brand color from a logo image

Frequently Asked Questions (FAQ)

Is my image uploaded?

No. The image is read and analysed only inside your browser.

Have feedback or ideas for this tool? Suggest & Inquire →