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
Drag your JPG, PNG, WEBP, AVIF, BMP, GIF file into the upload area, or click it to browse your device.
- 2
Adjust the options to suit your needs — the defaults work well for most files.
- 3
Click “Run Image Color Extractor” to start processing.
- 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
Related tools
QR Code Scanner
Read the content of a QR code from a screenshot or photo.
EXIF Viewer
See camera settings and GPS location stored in a photo, and download a copy with EXIF removed.
Image to Data URI
Turn an image into a data URI with ready-to-paste HTML and CSS snippets.
QR Code Generator
Create QR codes for links or text, with custom colors, size and error correction, as PNG or SVG.
Base64 Encoder
Encode text (UTF-8) or any file into Base64, with an optional URL-safe alphabet.
Base64 Decoder
Decode Base64 or data URIs back to readable text or a downloadable file.