Change the color of an SVG

Swap any color in the SVG, style-block and gradient colors included, then keep editing or save SVG, PDF or EPS. Free, no upload.

4 colors · 1 in a style block
#1F3A5F → #0F8B6C
How to Use

Open an SVG and Recolor Artwork comes up with every color in the file listed: fills, strokes, gradient stops, and colors set in a style block. Pick a new color for one row and every shape that uses it changes at once. The file stays an editable vector: change one shape on its own, edit its paths, or save it as SVG, PDF, EPS or .ai.

  1. Click Open an SVG, or drop the file on the page. The artwork is selected and Recolor Artwork opens on Assign, method Exact: each color in the file is a row under Current Colors.
  2. Click the row you want to change, then set its new color in the color picker under the rows: type a HEX code or drag in the field. The New column and the artboard follow as you pick. On a phone the rows and the picker are stacked; the picker scrolls into view when you tap a row.
  3. Click OK. The card says how many colors changed, for example 1 of 4 colors changed.
  4. Click Download SVG. To change another color, click Recolor again…; to change one shape only, close the card, click the shape and pick a fill in the Swatches panel.
OpensSVG files: colors in attributes, inline styles, a style block or gradient stops
SavesSVG; PDF, EPS, .ai and PNG from the File menu
Tested29 Oct 2026, a rocket icon with its body color in a style block and a two-stop gradient flame: all 4 colors listed; changing the body color changed the 3 shapes that use it
Where it runsIn your browser; nothing is uploaded, no account

White and black stay as they are until you untick White and Black under Preserve in the dialog's options. Colors inside an embedded bitmap or a filter are not listed. One file at a time; on export the colors are written in the style you pick in SVG Options, and the file's own class names are not kept.

How do I change one color in an SVG without changing the others?
Open it here: Recolor Artwork lists each color as its own row. Change the new color of that row only and click OK; the other rows stay as they are.
Can I change the colors of an SVG gradient?
Yes. Each gradient stop is a row in the list, so it changes like any other color.
Why didn't the white background change?
Preserve White is on by default so paper-white stays white. Untick it in Recolor Artwork's options and the white gets a row of its own.
How do I turn a black SVG icon white?
Untick Preserve Black, keep the method on Exact, and set the new color of the #000000 row to #FFFFFF.