Color Palette from Image

Pull colors from a photo or design. Copy HEX codes, export a color palette, or turn it into a prompt.

Drop or paste a JPG, PNG or WebP · Up to 50 MB

Find the colors in your imageYour file stays on this device.

How do I extract a color palette from an image?

Pick 3 to 10 dominant or vivid swatches from any JPG, PNG, or WebP image locally, sample exact spots on click, and export HEX, CSS, or a PNG swatch sheet.

Choose a JPG, PNG, or WebP image and pick a palette size from 3 to 10 colors. Start with dominant colors for a faithful palette or choose vivid colors to find accents. Click the image to sample a specific spot, then copy your codes or download the palette as a PNG.

Key facts

Input, processing and output at a glance

Automatic palette
Request 3–10 colors
Exact color sampling
Click or tap any visible part of the image
Export
HEX, CSS, color prompt, or PNG swatch sheet

Supported inputs and outputs

SettingWhat to expect
Accepted imagesJPG, PNG, and WebP
File limit50 MB and 40 megapixels
Color rankingMost common or Most vivid
Picked colorsUp to 10 additional colors
Swatch detailsHEX, RGB, and estimated share for automatically selected colors
ProcessingIn your browser, with no sign-up or credits

Tips for better results

Pick from an even patch

Sample a few nearby pixels on a logo or label. Reflections and compressed edges can give you several slightly different codes.

Give each color a job

Use the largest swatch for a main surface, give a secondary swatch a supporting role, and reserve the strongest accent for one or two details.

Check contrast in context

Try the chosen text and background on the final design. For ordinary text, aim for a contrast ratio of at least 4.5:1.

How to extract a color palette from an image

  1. Choose a reference image

    Open a photo, screenshot, or design from your device.

    Image picker for palette extraction
  2. Choose and refine the colors

    Set the palette size, switch between dominant and vivid, and add any detail colors you want to keep.

    Four vivid colors extracted from the coastal town picture
  3. Copy or download the palette

    Copy the format you need, or save the palette as a PNG.

    PNG palette download after color extraction

How image colors become a usable palette

Use the automatic palette to understand the whole image, then sample the small details that matter to your design.

Why swatch shares are estimates

Wizmade reads a reduced copy of the image, groups similar colors, and estimates how much of the sampled image each swatch represents. The automatic palette skips sufficiently transparent pixels, so empty areas around a cutout have little effect on its dominant colors.

A source with just a few distinct shades may produce fewer swatches than requested. Use Most vivid to bring out a saturated accent, or pick it directly from the preview when the detail is small.

Read a swatch in HEX or RGB

A six-digit HEX value records red, green, and blue as three pairs of hexadecimal digits. For example, #325A78 corresponds to RGB 50, 90, 120. You can paste the HEX code into a CSS color declaration or send it to someone reviewing the design.

The exact sampling tool reads the selected pixel as rendered by your browser. For a project with strict brand requirements, keep the approved brand color in your stylesheet and use sampled codes to understand how it appears in the reference.

Choose an export for the next step

Copy CSS when you want reusable custom properties. Copy the HEX list for a brief or issue comment, or download the swatch sheet for a visual handoff.

The color prompt gives the first swatch a primary role and lists the rest as supporting colors. Add the subject, materials, and lighting before you use the prompt. For interface work, check the actual foreground and background pair where the text will sit.

Color Palette from Image FAQs

Can I get HEX codes from an image?

Yes. Open the image to see the main colors, then select an individual swatch or copy the full HEX list.

What is the difference between dominant and vivid?

Dominant mode favors colors that occupy more of the image. Vivid mode gives stronger, more saturated colors a chance to appear.

Can I use the palette in an AI image prompt?

Yes. Copy the color prompt and add it to a description of your subject, materials, and lighting.

Do I need an account?

No. Image processing, copying, and downloads are available without signing in or spending credits.

Why did I get fewer colors than I asked for?

The automatic palette groups near-identical colors. A flat illustration with three distinct colors can produce three swatches even when you request more.

Can I include a small detail such as a logo or a bright reflection?

Yes. Tap or click the detail in the preview to add its color. You can keep up to ten picked colors alongside the automatic palette.

What does the percentage next to a swatch mean?

It estimates the share of the sampled image represented by that swatch. Picked colors show the pixel value you selected.

Extract your color palette now

Choose a file, adjust your result and export it on this page.

Drag to reposition. Use arrow keys to move, or Enter to open chat.