Recolor SVG

Replace a chosen color in SVG fills and strokes without rasterizing its paths.

Input

Processed on your device

How to use Recolor SVG

Change an existing SVG color to a new value. Useful when adapting a vector icon or logo to another brand or interface theme.

  1. Paste the SVG or open a file, set Original color and Replacement color, then recolor.
  2. Preview the result and verify any gradient stops you expected to change.
Example input
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><rect x="5" y="5" width="50" height="50" rx="10" fill="#000000"/></svg>

Example use

Turn a black standalone icon into an accent-colored asset without redrawing its paths.

Output and compatibility

The tool replaces supported matching color attributes and inline declarations. Inherited styles, CSS variables, class-based rules and complex paint references may have to be edited in the source.

Troubleshooting

If the result is unchanged, check whether the SVG uses currentColor, external styles or a slightly different original value.

Use Image Color Picker if the only source of the original color is a screenshot.

Frequently asked questions

Can it recolor a photograph inside SVG?

The operation works on vector color values, not pixels in an embedded bitmap.

Can I preview the new color?

Open the export in SVG Viewer and test it in the intended layout.

Find a tool