What this generates
This page generates your pasted SVG markup with fill and stroke colors swapped to a new color. Replaces every fill="." and stroke="." attribute (skipping fill="none") with your chosen color, and adds a fill if the SVG has none at all.
Change the fields above and the output updates live -- copy it once you're happy with the result.
Related tools
See the SVG-to-JSX Component Converter for a related effect.
Frequently Asked Questions (FAQ)
What does this generator actually output?
It generates your pasted SVG markup with fill and stroke colors swapped to a new color. Replaces every fill="." and stroke="." attribute (skipping fill="none") with your chosen color, and adds a fill if the SVG has none at all.
Does this send anything to a server?
No. The snippet is built in your browser from the fields you fill in. Nothing is uploaded, logged, or sent anywhere.
Can I use this output directly in production CSS?
Yes -- copy the output into your stylesheet or component. Adjust class names and selectors to match your project's naming, since the generated selectors are generic placeholders.