Dominant Color Extractor
Find the main color of an image as a HEX code you can copy.
- Runs in your browser
- No uploads
- No account
Loading your browser tool…
What Dominant Color Extractor does
Sometimes you need one color, not a palette: the brand color of a customer's logo for a matching slide background, or the main tone of a thumbnail for a card placeholder. The extractor groups the image into six colors and shows the largest as a big swatch, with up to four runners-up below.
Ignore white, black and gray is on by default, so a logo on a white canvas returns the logo's color rather than white. Turn it off when the neutral really is the main color, such as a dark-mode app. If an image is entirely neutral, those pixels are used anyway so you still get a result. For more colors at once, use the Color Palette Extractor.
Example
You choose
A logo: an orange #ED6C50 mark and black text on a white background
Result
Dominant color close to #ED6C50 Runner-up colors listed below with their share
White and black are skipped by default, so the orange mark wins even though white covers more of the image.
How to use Dominant Color Extractor
- Choose file or paste the image.
- Leave Ignore white, black and gray on, or turn it off to count neutrals.
- Click Copy HEX for the dominant color, or Copy on a runner-up.
Good to know
- The dominant color is an average of a group of pixels, so it can be slightly off the exact brand code. Check it against the brand guide.
- Very pale pastels and very dark navy shades near the neutral cut-off can be skipped as “gray” with the toggle on. Turn it off if a color is missing.
- The percentage is a share of the counted pixels only. With neutrals ignored, it isn't a share of the whole image.
Questions about Dominant Color Extractor
How do I find the main color of a logo?
Load the logo with Ignore white, black and gray on. The big swatch is the most common non-neutral color, which for most logos is the brand color. Click Copy HEX to use it.
What is the dominant color of an image?
It's the color that covers the most pixels once similar shades are grouped together. Here pixels are grouped into six colors, and the largest group, skipping neutrals by default, is the dominant one.
How can I use a dominant color in design?
Common uses are a matching background behind a logo or screenshot, a placeholder color while an image loads, and an accent color for a customer-specific demo or slide. Paste the HEX into Custom colors in the Screenshot Background Generator.