Extract an image's dominant colors
Analyze an image and extract its dominant colors in HEX format, ready to copy and use in a design.
Processed on your device. Nothing is sent to any server.
or click to select it
Samples about 20,000 pixels, groups them with the median-cut algorithm and returns each group's average color in HEX, ordered from the one covering the most area to the least.
Use cases
- Extracting a color palette from an inspiration photo.
- Finding a logo's dominant colors to reuse them.
- Generating a palette from a product image.
How it works
- 1
Upload your image
Drag the file in or pick one from your device.
- 2
Copy the colors
Click any color in the resulting palette to copy its HEX.
Technical details
- You get up to 6 colors. Each is the average of its group, so it may not exactly match any single pixel in the image.
- Transparent or nearly transparent pixels are ignored, so the background of a cut-out PNG doesn't count.
- For a harmonious palette built from a specific color, use the palette generator.
- Limits: one image at a time, up to 25 MB and 40 megapixels.
Frequently asked questions
How many colors does it extract?
Up to 6, ordered from most to least present in the image. An image with very few distinct colors may give repeated or very similar tones.
Related tools
- Border Radius GeneratorCreates CSS border-radius with preview.
- Box Shadow GeneratorCreates CSS shadows with a live preview.
- Color PickerPick a color and get HEX, RGB and HSL.
- CSS Gradient GeneratorCreates CSS gradients with preview.
- Palette GeneratorGenerates harmonious palettes from a base color.
- Random Color GeneratorGenerates a random HEX color.