Change SVG Stroke to currentColor

Replace hardcoded stroke colors with currentColor

Copy CSS? Stroke + CSSNo path edit? CSS color only

FAQ

Quick answers

How do I change SVG stroke to currentColor?
Paste the SVG and click Use currentColor. Stroke attributes that were hex or named colors become currentColor.
What does currentColor do?
The stroke paints with the computed CSS color of the element (or inherited color), so text color and icon stroke can match.
Do I still need CSS?
Set color on the SVG or a parent. For a ready rule, open Change SVG Stroke Color with CSS.
Avoid editing path data?
This tool only touches stroke color tokens — see also Change SVG Stroke Color Without Editing SVG.
Change stroke color → Stroke + CSS → Stroke hover → Stroke + React →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina