- Home
- Extract Icon Colours
Extract Icon Colours
Upload an icon and get its exact colours as hex codes — usually two or three, and usually needed to match something else to them.
Free preview · No signup · ~10 seconds
Drop an icon
PNG, JPG, WebP or SVG — up to 20 MB
Runs entirely in your browser. Your image is never uploaded.
Reading the colours out of an icon
Icons use very few colours
A well-made icon is one or two colours plus transparency. That is deliberate: an icon has to stay legible at sixteen pixels, and detail in colour is the first thing to disappear at that size.
Matching a set
The usual reason to extract icon colours is a mismatched set — icons from different sources that need to agree. Reading the exact values off the ones that are right tells you what to recolour the others to.
Alpha is excluded
Only visible pixels are measured, so transparent areas do not appear in the results. That is why an icon may report only one or two colours even though it visually occupies a whole square.
Small icons give less to read
A 16-pixel icon has very few pixels to sample and its anti-aliasing is proportionally large, so extraction is less reliable. Use the largest version you have — the colours are the same and the reading is cleaner.
SVG is exact
If the icon exists as SVG, the colours are literally written in the file as attributes. Extraction from a raster is a very good approximation, but the source is definitive.
How to extract icon colours
Upload the icon
Drop in the largest version you have for the cleanest reading.
Choose how many colours
Most icons need two to four. Adjust the slider to match.
Copy what you need
Click a swatch to copy one hex, or copy them all.
Extract Icon Colours — in the editor
The real editor, start to finish — no signup needed to try it yourself.
Free preview · No signup · ~10 seconds
Where icon colours are needed
Normalising an icon set
Read the correct colours so mismatched icons can be recoloured to match.
Theme matching
Match interface elements to the icons already in place.
Dark mode variants
Get the light-mode values before deriving the dark-mode ones.
Design tokens
Capture icon colours as values in a design system.
Or just ask
Describe the edit in your own words
Type what you want changed and the assistant does it on the canvas — each step lands as a layer you can reopen, so nothing it does is baked in.
No edits yet.
Frequently Asked Questions
Related Tools
Guides worth reading
How to Make a Duotone Image in Figma (Building One From Blend Modes)
Figma has no duotone effect. You assemble one from a desaturated image and two blended rectangles — here is the layer stack, the order that matters, and an honest account of what it costs to maintain.
How to Make a Logo White in Photoshop (3 Methods, One of Them Non-Destructive)
Color Overlay, Lock Transparent Pixels, and why Hue/Saturation is the wrong tool even though Lightness looks like it works — plus the fringe that makes a white logo look dirty on a dark background, and how to remove it.
How to Replace a Color in Canva (What's Possible on Elements, and What Isn't on Uploads)
Canva can swap colors on vector elements one swatch at a time. On an uploaded photo or PNG there is no per-color control at all — here is the full picture, including the Duotone approximation and its limits.
Extract your icon colours
Upload an icon and copy its exact hex codes.