Dominant Colors From Image

Find the colours that actually dominate a photo, with HEX, RGB and HSL values.

Private, in-browser processing
Information

Image Color Palette Generator, also known as Dominant Colors, scans every pixel in a picture and groups similar shades together to find up to 12 colours that best represent it, ranked by how much of the image they cover. Each result is shown as HEX, RGB and HSL values alongside its percentage share, so you can see at a glance that a photo is, say, 34% a warm beige, 21% a muted green and the rest scattered across smaller accents. This is the tool for pulling a colour story out of a product photo, matching a website's accent colour to a hero image, or checking whether a batch of photos shares a consistent visual tone. Results export as a ready-to-use swatch PNG showing each colour as a labelled block, plus a plain-text list of every value for pasting into design specs or style guides. Analysis runs entirely in your browser on the actual pixel data, so the colours you get reflect the real image, and nothing is ever uploaded.

This tool is now part of a bigger one. Open Color Toolkit
Your image

Drag & drop your JPG, PNG, WEBP or BMP file here

click to browse, or press Ctrl / ⌘ + V to paste an image

One image, up to 40 MB. You can also paste from the clipboard.

Result

Upload an image and click Extract Colors to find its dominant colors.

Colour toolkit

Upload an image to extract its dominant colours.

Live colour picker & converter

HEX#2563EB
RGBrgb(37, 99, 235)
HSLhsl(221, 83%, 53%)
HSVhsv(221, 84%, 92%)
CMYKcmyk(84%, 58%, 0%, 8%)

Complementary

Analogous

Triadic

Your palette0 saved

Save colours from the swatches above or the picker to build a palette, then export it as CSS, SCSS, Tailwind, JSON or Figma tokens.

Contrast checker

Sample text Aa

Contrast ratio

17.74:1

Normal AAPassNormal AAAPassLarge AAPassLarge AAAPass

Dominant Colors From Image · runs privately in your browser — files never leave your device

Examples

Click any example to load it into the input.

How to use

1

Upload an image

Add the photo, illustration or screenshot you want to extract colours from.

2

Review the ranked colours

See up to 12 colours sorted by their percentage share of the image.

3

Check each value

Read HEX, RGB and HSL notation for any colour you want to reuse.

4

Export your results

Download a labelled swatch PNG and a plain-text colour list.

Image Color Palette Generator

Turn any image into a brand palette exported as CSS, SCSS, Tailwind or JSON.

Open Tool

Fix Image Color Balance

Nudge red, green and blue independently to correct a colour cast.

Open Tool

Adjust Image Saturation

Make colours more vivid or dial them back toward grey with a saturation slider.

Open Tool

Remove Background from Image

Remove the background from a photo online and download a transparent PNG in seconds.

Open Tool

Compress Image (Reduce File Size)

Compress images online to shrink file size for the web without losing visible quality.

Open Tool

Resize Image (Change Dimensions)

Resize images to exact pixel dimensions or by percentage, with the aspect ratio locked.

Open Tool

Related articles

Guide

Extracting a brand palette from a photo

5 min read

Article

HEX, RGB and HSL: when to use which

4 min read

Tutorial

Building consistent visual tone across a photo set

6 min read

Frequently asked questions