Color Palette Generator

Color Palette Generator

Extract up to six dominant colors from a photo or illustration and save their HEX values. Transparent areas are left out of the count.

Up to 6 colorsPixel samplerHEX text file

Color Palette Generator example

The sample photographs a yellow building. The list shows the most common groups of colors and their HEX codes. To read a particular shade on a window, click that spot in the image or set its pixel coordinates with the keyboard.

How to use it

Choose the area you want to measure

A whole photograph can be dominated by a large wall or background. To make a palette for a product itself, crop around the product before selecting the file. Areas that are transparent do not contribute a background color. Differences in lighting can shift a photographed brand color, so use the supplied brand artwork when an exact design value matters.

Image color picker

Use a cropped version if one part of the picture matters most. Nearby shades are grouped so the result represents the main colors rather than every tiny change in a shadow.

Use the saved values in a design

The output is a text list with one HEX color per line. Paste a value, including the leading hash, into a color field in your editor. For a small accent that the list does not include, read its exact pixel separately. A palette describes colors present in the image; test text and background combinations against your readability requirements before using them on a website.

Why does the color palette generator return a different shade from the pixel picker?

The palette counts groups of similar colors across a reduced copy, then reports a representative HEX value for each group. The picker reads one precise position from the displayed image. A small accent can be useful in a logo even when it is too rare to appear among the dominant colors, so use both results when preparing a design.