Color Palette Extractor
Pull the dominant colors out of any image and copy them as HEX or RGB in one click. Free, instant, and private: your image never leaves your device.
How to get colors from an image
- Drag your image onto the box above (or click to choose, or paste it from the clipboard).
- Pick how many colors you want, then click Extract palette.
- Copy any swatch’s HEX or RGB value, or grab them all at once with Copy all HEX.
Why use a color palette extractor?
Great design starts with the right colors, and the easiest place to find them is an image you already love — a photo, a logo, a screenshot, or a moodboard. This image color picker scans every pixel and surfaces the dominant colors so you can build a coherent palette in seconds instead of eyeballing hex codes. Whether you’re matching a brand, theming a website, or pulling accents for a UI, extracting colors from an image gives you ready-to-use HEX and RGB values that drop straight into your CSS or design tool — all processed locally in your browser.
Common use cases
- Brand and logo matching — sample the exact tones from a client logo or product photo so your website, slides, and social posts stay on-brand.
- Web and UI theming — pull a base, surface, and accent color out of a hero image, then map them to CSS custom properties for a cohesive interface.
- Moodboards and art direction — distil a reference photo or illustration into a shareable swatch set when briefing designers.
- Data visualisation — derive a harmonious chart palette from a screenshot instead of guessing at categorical colors.
- Print and merchandise — capture HEX values to hand off to a designer who can convert them to the CMYK or Pantone equivalents you need.
HEX vs RGB: which value to copy
Every swatch exposes the same color in two notations so you can paste whichever your workflow expects. Both describe an identical 24-bit color — they are just written differently.
| Format | Looks like | Best for |
|---|---|---|
| HEX | #3a6bff | CSS, design tools (Figma, Sketch), most style guides — compact and copy-friendly. |
| RGB | rgb(58, 107, 255) | When you need to tweak channels or add an alpha (rgba()) for transparency. |
Tips & gotchas
- Crop before you sample. If a large flat background dominates the frame, it will win most of the palette. Crop to the subject first for colors that actually matter.
- Transparent pixels are ignored. Fully or mostly transparent areas in PNGs are skipped, so logos on a clear background return only their real colors.
- Similar shades get merged. Near-identical pixels are grouped into one representative swatch, which is why a gradient may yield fewer distinct colors than you expect.
- Increase the count for variety. If the palette feels monotone, bump the count to 8 or 10 to surface secondary hues hiding behind the dominant ones.
- Everything stays local. The image is decoded to a canvas in your browser and never uploaded, so you can safely sample unreleased artwork or internal screenshots.