Color Palette Extractor

Pull the dominant colors from any image as a palette — hex, RGB, and pixel share.

Analyzer Media & Files Updated Apr 18, 2026
How to Use
  1. Drop or pick an image.
  2. Adjust count for more/fewer swatches.
  3. Click a chip to copy its hex.
Image
🎨
Drop image or
PNG, JPG, GIF, WebP, SVG
Preview
Pick an image.

Notes

Method
Median cut on RGB histogram
Fast and order-independent.
Sample size
Up to 200k pixels
Downsampled for large images.
Click chip
Copies hex
Paste anywhere.
Export CSS
--color-0 … --color-n
Ready for themes.
Privacy
Local only
No upload.
Alpha
Skipped if 0
Only visible pixels count.

About the Color Palette Extractor

The Color Palette Extractor is a free tool for image, audio and file tasks. It runs right in your web browser, so there is nothing to download. Pull the dominant colors from any image as a palette — hex, RGB, and pixel share.

How it works

Enter what you have and read the result as it updates live. It all runs on your own device, so it is quick and private, with nothing to install.

Want the deeper story? The Knowledge Base explains the ideas behind the tools in more detail.

Frequently Asked Questions

How is it computed?

Pixels are binned into a 16⁴ histogram, then merged by median-cut into the requested palette size.

Transparency?

Fully transparent pixels are excluded.

How do I use the Color Palette Extractor?

Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Is it free? Does it work without internet?

Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.

Where does my data go?

Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.

Common Use Cases

Design

Snag a brand palette from a hero image.

Theme

Build CSS variables from artwork.

Last updated: