Dominant Colors From Image
Find the colours that actually dominate a photo, with HEX, RGB and HSL values.
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.
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.
Upload an image and click Extract Colors to find its dominant colors.
Upload an image to extract its dominant colours.
Live colour picker & converter
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
Contrast ratio
17.74:1
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
Upload an image
Add the photo, illustration or screenshot you want to extract colours from.
Review the ranked colours
See up to 12 colours sorted by their percentage share of the image.
Check each value
Read HEX, RGB and HSL notation for any colour you want to reuse.
Export your results
Download a labelled swatch PNG and a plain-text colour list.
Related tools
Image Color Palette Generator
Turn any image into a brand palette exported as CSS, SCSS, Tailwind or JSON.
Open ToolAdjust Image Saturation
Make colours more vivid or dial them back toward grey with a saturation slider.
Open ToolRemove Background from Image
Remove the background from a photo online and download a transparent PNG in seconds.
Open ToolCompress Image (Reduce File Size)
Compress images online to shrink file size for the web without losing visible quality.
Open ToolResize Image (Change Dimensions)
Resize images to exact pixel dimensions or by percentage, with the aspect ratio locked.
Open ToolRelated articles
Extracting a brand palette from a photo
5 min read
HEX, RGB and HSL: when to use which
4 min read
Building consistent visual tone across a photo set
6 min read