A downloaded icon set never arrives in the colour you need. Opening them one by one to change a #000000 is exactly the kind of work a machine should be doing.
You can change every colour to a single one, one particular colour only, or everything to currentColor so the CSS decides. It looks at the attributes and also inside style=””, which is where a good half of the exporters leave them.
How to use it
- Drop in the whole icon set.
- Choose whether to change every colour, just one, or move them to currentColor.
- Pick the new colour and process.
Frequently asked questions
- What is currentColor?
- It tells the SVG to take the text colour of whatever contains it. The icon then changes colour on its own when the button it lives in changes, with no per-colour copies to keep.
- Nothing changed — why?
- The file probably has no colour written in it at all: an SVG with no fill is painted black by default. In that case we hand the original back with a note, rather than pretending something happened.
- Does it touch colours inside a <style>?
- No. That would mean understanding CSS properly, and leaving it to your editor’s find-and-replace is more honest than half-guessing.
Related tools
Optimise SVGSVGO in the browser: drops editor metadata and rounds paths.
SVG to PNGRasterise at any size, on a transparent or solid background.
SVG to PDFA one-page PDF at the drawing’s real size.
SVG to CSSThe drawing inside a data URI, with no extra request.
SVG spriteA whole icon set in one file, ready for <use>.