Icon Recolor

Change the colours in an SVG icon or logo: swap each colour, use one colour for everything, or switch to currentColor.

Runs in your browserNo sign-upWorks offline

What the Icon Recolor does

Icon Recolor finds every colour used in an SVG and lets you change them. Swap each colour separately with a colour picker, set one colour for the whole icon, or switch everything to currentColor so the icon follows the text colour of your page. The preview updates as you choose, and you can copy or download the new SVG.

How to use it

  1. Paste SVG code, or open or drop an .svg file.
  2. See the list of colours found, with how often each is used.
  3. Pick a new colour for any of them, or tick One colour for everything or Use currentColor.
  4. Copy or download the recoloured SVG. Press Reset colours to start again.

Example

Your logo is blue, yellow and dark navy, but the footer needs an all-white version. Paste the logo, tick One colour for everything and pick white. For a dark-mode toggle, tick Use currentColor instead: the logo then shows in whatever colour your CSS sets on its container.

What gets recoloured

The tool changes fill and stroke colours set as attributes, in style attributes and in style blocks, plus gradient stops and filter colours. Shapes with no fill set are drawn black by default, so they appear as black in the list and are recoloured too.

Gradients keep their shape; change each stop’s colour to recolour them. Images embedded inside an SVG are not changed.

Common jobs

Match your brand: load a black icon set and replace #000000 with your brand colour, such as #14B8A6, in one step. Dark mode: switch the icon to currentColor, and it takes the text colour of whatever it sits in, so the same file works on light and dark pages. Two-tone icons: swap each colour on its own and keep the rest.

Need a colour from a photo or logo first? Pick it with the Color Picker from Image. Then turn the result into a PNG with SVG to PNG, or get free icons to start from in the Original Icon Library.

Questions people ask

Is my file uploaded?

No. Files are read and processed in your browser and never uploaded.

What is currentColor?

A CSS keyword meaning “the current text colour”. Icons using it change colour with the text around them.

Can I recolour PNG or JPG images?

No, this tool is for SVG. For photos, try Image Filters or Brightness and Contrast.

Does it work with named colours like “red”?

Yes. All CSS colour formats are recognised and shown as HEX codes.

Can one icon work on both light and dark backgrounds?

Yes. Switch it to currentColor, and it follows the text colour around it, so it changes with your theme.

Related tools