Color Palette Extractor
Pull the dominant colors out of an image as hex codes, with a downloadable swatch strip.
Drag & drop files here, or click to browse
JPG, PNG, WebP, BMP, GIF, TIFF, HEIC · max 10MB · files auto-delete after 1 hour
How it works
Upload an image and choose how many colors to extract (2–10). We analyze the image's pixels to find its most dominant colors and show them as clickable, copyable swatches, plus a downloadable PNG strip labeled with each hex code. Files are deleted from our servers automatically after one hour.
FAQ
- How are the colors chosen?
- We use a median-cut color quantization algorithm on the image's pixels, filtering out near-white background, to find the colors that visually dominate the image — the same general approach used by tools like Coolors' image-to-palette feature.
- Can I copy the hex codes?
- Yes — click any swatch on this page to copy its hex code to your clipboard. You can also download a PNG strip with all the swatches and their hex codes labeled.
- Why don't I see pure white in the palette even though my image has a white background?
- Near-white pixels are deliberately excluded so a plain white or transparent background doesn't crowd out the image's actual dominant colors.