SVG Rainbow Gradient Stroke Generator

Paint outlines with a rainbow multi-stop stroke gradient

Gradient stroke code? Gradient stroke codeLinear stroke gradient? Linear stroke gradient

FAQ

Quick answers

How do I create a rainbow stroke on an SVG?
Paste the graphic and click Apply rainbow stroke. Multi-stop colors wire to the stroke.
Can I edit rainbow stop colors after applying?
Yes. Adjust stop-color values in Source — the preview updates as you edit.
Prefer fewer colors than a full rainbow?
Open Multicolor Stroke for a tighter palette preset.
Does rainbow stroke generation need an account?
No. Free browser tool, no signup or upload.
Gradient stroke code → Linear stroke gradient → Radial stroke gradient → Linear stroke code →
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