Skip to content
ToolsMastar

Extract a Color Palette from an Image

Extract a palette of dominant colors from an image, with HEX codes and proportions.

Input:
JPG, PNG, WEBP, AVIF, BMP, GIF
Max size:
50 MB
Runs:
In your browser (no upload)

What the Image Color Extractor does

Find the dominant colors in a photo or design and copy their HEX codes, with the share of the image each color covers. Useful for building palettes that match a photo or brand image.

Options

  • Number of colors (2–16).

How to use the Image Color Extractor

  1. 1

    Drag your JPG, PNG, WEBP, AVIF, BMP, GIF file into the upload area, or click it to browse your device.

  2. 2

    Adjust the options to suit your needs — the defaults work well for most files.

  3. 3

    Click “Run Image Color Extractor” to start processing.

  4. 4

    Review the results shown below, and copy any values you need.

Supported formats

  • JPG (JPEG) is a lossy format ideal for photographs. It has no transparency and is supported everywhere. More about the JPEG / JPG format.
  • PNG is a lossless format that supports full transparency. Best for screenshots, logos and graphics with sharp edges. More about the PNG format.
  • WebP is a modern format from Google supporting lossy and lossless compression plus transparency, typically 25–35% smaller than JPG. More about the WebP format.
  • AVIF is a next-generation format based on the AV1 codec, offering excellent compression and HDR support. More about the AVIF format.
  • BMP is an uncompressed Windows bitmap format. Files are large and rarely needed on the web.
  • GIF supports simple animation and up to 256 colors per frame. It is universally supported but produces large files. More about the GIF format.

Frequently asked questions