Find the colors that connect your ideas.

Extract colors from a photo or generate a palette without one. Choose 3–8 colors, explore shades or related hues, and copy HEX codes.

Open Color Palette

Free to use. No account needed. Photos are processed in your browser. Copy HEX codes from a photo or generate a palette without uploading an image.

Color Palette helps turn the colors in a photograph into a reusable set of HEX codes. You can also generate a coordinated palette without an image, which is useful when planning a background, caption, or design before selecting photos.

Photo to color palette

Before · source photograph
An orange sun glows above distant hills, framed by silhouetted leaves.
After · Color Palette
Color Palette result: Five colors extracted from the photo, shown with their HEX codes. Palette output is color codes, not an edited photograph.

Settings used: Five colors extracted from the photo, shown with their HEX codes. Palette output is color codes, not an edited photograph.

Examples use resized images. Fine detail can vary with your source resolution.

All tool guides · Open Color Palette

Make this edit

  1. Open Color Palette. Select a JPG, PNG, or WebP to extract colors, or leave the image empty to generate a palette.
  2. For generated palettes, choose Same hue or Related hues, select 3–8 colors, and choose Generate random palette.
  3. Click a swatch to copy its HEX code, or choose Copy all colors. Remove the image to return to random generation.

Available options, explained

Image or generated palette
Select a photo to extract its colors. Remove it to return to generation without a photo. Images are processed locally in your browser.
Palette style
Same hue creates tonal shades around one hue. Related hues creates a family of neighboring hues. These choices apply to generated palettes.
Number of colors
Choose 3–8. An extracted palette may contain fewer colors when the source has fewer distinct sampled colors.
Generate and copy
Generate random palette creates a fresh set. Click a swatch for its HEX code, or choose Copy all colors. HEX codes are the output; there is no image export.

Get a better result

A palette is a starting point for a design, not a guarantee of readable or accessible color combinations. Reserve the darkest and lightest swatches for elements that need clear separation.

Troubleshooting

An image with only a few distinct sampled colors can return fewer swatches than requested. Palette output is copyable color codes; it does not download a JPG or PNG.

File formats and download help

In The Day Turns Gold, extract five colors from the orange sun, warm sky, and silhouetted leaves. Try a light sky tone as a background and a dark silhouette tone for text, then check their actual contrast before using the combination.

Three ways to start a color palette

Colors from a photograph

Choose an image and extract a set of colors to connect a background, caption, or design with the scene.

Tonal shades of one hue

Remove the image, choose Same hue, and generate a palette with a coordinated color family.

A family of related hues

Choose Related hues and generate a fresh palette, then copy the swatches you want to try in your design.

Find your colors

Before you copy your colors

Do I need a photograph to make a palette?

No. Leave the image empty or remove it, choose Same hue or Related hues, select 3–8 colors, and generate a random palette.

What can I download or copy?

Click a swatch to copy its HEX code, or choose Copy all colors. Color Palette outputs color codes; it does not export a JPG or PNG.

Why are there fewer colors than I requested?

An extracted palette can contain fewer swatches when the photo has fewer distinct sampled colors. Try another image or a smaller requested palette.

Are these color combinations suitable for text?

A palette does not guarantee readable contrast. Check the actual text and background combination before using it in a design.