SVG Gradient Color Picker from Code

Treat the source as a color picker — click once to lift hex values from the markup

Extract colors? Extract colorsExtract stops? Extract stops

FAQ

Quick answers

How does the SVG gradient color picker from code work?
It reads stop-color attributes in the source — not pixels — then copies hex values.
Do I need to select a stop in the preview?
No. One click scans all gradients in the markup.
Can I pick from a path filled with url(#pick)?
Yes. The defs gradient behind that fill is what gets read.
Want a visual fade instead of a list?
Keep the preview open; swatches sit on the graphic after you pick.
Extract colors → Extract stops →
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