Image tools · Free online tool

Color Palette Extractor: Extract a Color Palette from Any Image

Extract a color palette from any image — dominant, vibrant, muted, dark or light colors.

Extract colors from an image in seconds

Drop a JPG, PNG or WebP image and this color palette extractor finds its main colors with their HEX codes and how much of the image each covers. Choose 3 to 20 colors and copy, export or open the palette in the generator.

Dominant, vibrant, muted, dark or light colors

Different modes help different jobs: dominant for the colors that fill most of the photo, vibrant for accents, muted for backgrounds, and dark or light for specific ranges. Extraction uses perceptual k-means clustering, similar to ColorThief but tuned to how people see color.

Private and fast

Your image never leaves your device; everything runs in your browser. Need one exact color rather than a palette? Use the Image Color Picker. For screenshots, paste directly into the Screenshot Color Extractor.

About the Color Palette Extractor

Extraction runs in your browser using perceptual k-means clustering, so photos are never uploaded. Modes bias the selection toward dominant areas, vivid accents, muted tones or light/dark ranges. Like every ColorMoodHub tool, it is free and runs entirely in your browser, so nothing you enter or upload is sent to a server.

Color Palette Extractor: frequently asked questions

How do I get a color palette from a picture?

Upload the image, choose how many colors you want and a mode, then copy the HEX codes.

Which image formats are supported?

JPG, PNG and WebP up to 15 MB.

Are my photos uploaded?

No, extraction runs entirely in your browser.

Why do I get different colors in different modes?

Each mode prioritises different pixels, such as the largest areas or the most saturated colors.

All 45 tools