How to extract a color palette from an image
- Drop in any image โ a photo, logo, screenshot or moodboard.
- The 5 dominant colors appear as swatches with their HEX codes.
- Click a swatch to copy its HEX code straight to your clipboard.
Designers do this constantly: a client sends a photo and asks for "a site that matches," or you need button colors that harmonize with a hero image. Instead of eyedropping pixel by pixel, get the whole palette at once. The extractor groups similar shades so you get five genuinely distinct colors rather than five variations of the same one.
Frequently asked questions
How does it pick the colors?
The image is analyzed pixel by pixel in your browser; similar colors are grouped, and the 5 most dominant, visually distinct groups become the palette.
Is my photo uploaded?
No. The analysis runs entirely in your browser using the Canvas API โ the image never leaves your device.
What image formats work?
Any format your browser can display: JPG, PNG, WebP, GIF, AVIF and SVG. For iPhone HEIC photos, convert them first with our HEIC to JPG converter.