Get a color palette from an image

Add a product photo, logo, or reference design to get its main colors. Click the image to pick the color at a specific spot.

Everything runs in your browser. Files are never uploaded to any server.

    How to use

    1. Choose an image

      A product photo, logo, screenshot of a reference design, or moodboard.

    2. Set the number of colors

      Slide for 3 to 12 colors. Click the image to add a color from a specific spot.

    3. Copy or export

      Copy HEX codes one by one, all at once, as CSS variables, or download a palette PNG.

    Reading the contrast numbers

    Each color shows its contrast ratio against white and black. For body text, the WCAG accessibility guidelines ask for at least 4.5:1; for large text (headings) at least 3:1. Use these numbers to choose text colors that stay readable on your brand colors.

    Common questions

    How are dominant colors chosen?

    Pixels are grouped with the median cut method: the colors are split repeatedly along the widest color range until there are as many groups as you chose, then each group is averaged. The percentage shows how much of the image each color represents.

    Why is a color slightly different from the original design?

    A dominant color is the average of a group of pixels. For the exact color at one spot, click that spot in the image.