Replace selected SVG fill or stroke colors without changing its geometry.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Selected fill, stroke, or CSS presentation values are replaced in the SVG element and style tree while geometry and paint order remain unchanged. Inherited values and currentColor can make the visible color come from an ancestor rather than the element itself.
Input: <svg xmlns="http://www.w3.org/2000/svg"><circle fill="#ff0000" cx="5" cy="5" r="5"/></svg> From color: #ff0000 To color: #0000ff
<svg xmlns="http://www.w3.org/2000/svg"><circle fill="#0000ff" cx="5" cy="5" r="5"/></svg>
Icon themes, brand migrations, and light/dark component previews recolor SVGs.