SVG colour changer
Open an SVG and every colour in it becomes a swatch — replace one, merge near-duplicates, go monochrome, shift the hue or make a dark-mode copy, then download the same SVG with new colours.
Recolour without redrawing
A logo needs a white version for a dark slide; an icon set must match a new brand; a downloaded illustration clashes with your page. Recolouring by hand in a code editor means hunting through hex values. Here the colours are listed by how much of the picture they cover, and changing one changes it everywhere.
Ways to change colours
- Replace one swatch with a colour you pick or type.
- Merge near-identical colours into one, which also shrinks the file.
- Monochrome, grayscale or black and white in one click.
- Hue, saturation and brightness shifts across every colour together.
- Brand colours: paste a list of hex values and every colour moves to the nearest one.
What stays the same
The shapes do. Nothing is traced, so the outlines of the SVG are exactly as they were. Groups are written back by colour, and optimisation is optional, so the downloaded file stays easy to edit.
Related SVG tools
SVG colour questions
What is currentColor, and when do I want it?
currentColor tells the SVG to use the text colour of whatever it sits in. Turn it on in Export → All options for an icon, and the same file turns blue in a link, white on a dark button and red in an error message, set by CSS alone.
Are stroke colours changed too?
Yes. Every fill and every stroke colour appears as a swatch, and replacing a swatch changes both wherever that colour is used.
What happens to gradients?
Gradients are opened as their first colour stop, which then behaves like any other swatch. The page tells you when this happens, so you can decide whether a flat colour is what you want.
Can I make a dark-mode version?
Use Invert for dark mode under Recolour. It flips how light each colour is while keeping its hue, so a navy logo on white becomes a pale blue logo for a dark background, and brand hues stay recognisable.
