SVG Recolor
SVG Recolor lists all the colors in an SVG and lets you swap any of them or change them all at once: invert, grayscale, lighten, darken, one color for everything or currentColor for icons. It works on attributes, style and style blocks, and runs in your browser.
How to use SVG Recolor
- Drop an SVG or paste its code.
- Pick a new colour for any colour in the list, or use a button to change them all.
- Undo if you need to, then copy or download the result.
Frequently asked questions
Is my SVG uploaded?
No. The colours are found and changed in your browser.
Where does it look for colours?
In fill, stroke, stop-color, flood-color, lighting-color and color, whether they are written as attributes, inside style attributes or in a style block. Colour names, three-digit and six-digit codes, rgb() and hsl() all count as the same colour.
What does Use currentColor do?
It makes fills and strokes follow the text colour, so an icon inline in a page can be recoloured with CSS. Shapes with no fill or stroke, colour fades and none are left alone.
Why does a colour I changed look the same?
Some SVGs colour shapes through a style block with classes, or through a colour fade. Those are changed too, but a shape that has no colour set draws in black by default and there is nothing to replace.
Next step
Next, shrink the recolored file with the SVG Optimizer. Open SVG Optimizer.
Related tools
- 109
- 116