How to Extract a Colour Palette from an Image
Every photo is made of thousands of colours, but a good palette captures the handful that define its look. This tool samples the pixels across your image, groups similar colours together, and surfaces the most common ones as a clean palette — each with its HEX and RGB code ready to copy. Choose how many colours you want, and use them to match a design, brand or mood to the image. It all runs in your browser, so nothing is uploaded.
Add your image
Drop in any photo or graphic. It's processed locally in your browser — nothing is uploaded.
Pick how many
Choose between three and ten colours; the palette rebuilds instantly.
Copy the codes
Copy any single HEX or grab all of them at once for your design tool or CSS.
What to Use It For
Match a design to a photo
Build a website or graphic around the exact colours in a hero image for a cohesive look.
Brand & moodboards
Turn an inspiring photo into a starting palette for a brand or moodboard.
Ready HEX & RGB
Copy codes straight into Figma, Canva, CSS or any design tool.
Consistent themes
Pull palettes from several images to find a shared colour theme across a set.
Quick colour reference
Instantly see the key colours of any image without eyedropping each one by hand.
Private by design
Because it runs in your browser, your images are analysed without ever being uploaded.
Frequently Asked Questions
How do I get a colour palette from an image for free?
Drop your image above and the dominant colours appear instantly with HEX and RGB codes. Copy one or all — free, no signup, no watermark.
How does it choose the colours?
It samples pixels across the image, groups similar shades together, and surfaces the most common colours, skipping near-duplicates so the palette stays varied.
How many colours can I get?
Anywhere from three to ten. Pick the count that suits your project and the palette rebuilds instantly.
Can I copy the codes?
Yes. Click any swatch to copy its HEX, or use Copy all to grab every HEX code at once for your design tool or CSS.
Do I get RGB as well as HEX?
Yes. Each colour shows both its HEX and RGB values.
Are my images uploaded to a server?
No. Everything happens inside your browser, so your image never leaves your device — completely private.
Which images work best?
Any image works. Photos with clear, distinct colours give the most useful palettes; very busy images are summarised into their strongest tones.
Does it work on phones?
Yes, in any modern browser on Windows, Mac, Android or iPhone with nothing to install.
Is this palette generator really free?
Completely free, forever — no account, no watermark, no daily cap and no premium wall.
100% free · No signup · No watermark · Files never leave your browser
Last updated: August 2026 · FlipMyFormat Color Palette Generator
Written and maintained by the FlipMyFormat team · Runs entirely in your browser