SVG theme color changer.
Building light and dark modes? Drop one SVG, swap its dark colors for light ones, and download the other theme's PNG. Nothing is uploaded.
SVG theme color changer.
Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.
Get ProHow it works
4 steps, no account. It runs in your browser and nothing is uploaded.
Drop an SVG
Drop an SVG; the browser draws it at the size it declares and shows the pixels.
Pick the color to change
Click the picture to sample the color to change, or type its hex; widen the tolerance to catch anti-aliased edges and near shades.
Pick the new color
Choose the new color; every pixel within the tolerance of the old one takes it, the rest stay as they were.
Download the PNG
The result is a PNG with the transparency kept; run it again for a second color.
Related tools
More SVG tools. Every one free, in the browser.
Pricing
Build it with Pro
The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Questions and answers
Before you trust the result: what to know about the format, the limits, your data and the tools next to it.
Drop the SVG and replace its dark colors (black, dark gray) with light ones for the dark-mode version; save it. Run it again the other way for the light-mode version.
It draws in black or a dark color. Pick that color and replace it with white or a light gray, and it shows on dark.
Use the same hex for every file: note the light theme color (#1a1a1a, say) and the dark theme color (#f5f5f5) and apply them consistently.
CSS variables color inline SVG and HTML, but can't reach inside a raster image. This makes a pre-colored PNG per theme, which you swap with a media query or your theme switch.
Run the SVG once per color that changes, building a full light version, then a full dark version; both become PNG assets to swap.
Start with the default assets, run each through with the other theme's colors, name them icon-dark.png and icon-light.png, and swap them in CSS or JavaScript by theme.
This tool takes one file at a time. For hundreds of icons, script it with a library such as Sharp or the Inkscape command line; use this for quick work and prototypes.
The browser draws the SVG to pixels at the size it declares (its width and height, or its viewBox), and the tool works on those pixels. The result is a PNG, not an SVG: for a larger output, set a larger width and height on the SVG first, with the SVG editor.
No. The file is read and drawn by your browser, and the page makes no request with it. You can load the page, go offline and keep working; nothing is stored either, so reload and it is gone.
No. The SVG theme color changer is free and opens without a sign-in, an account or an install.
The edit is written as a PNG because PNG stores every pixel exactly, with a full alpha channel, so the result can be edited again without a second round of loss.
No. The browser decodes the image and the tool writes a new file from its pixels, so camera EXIF, GPS position and text chunks in the original are not copied into the result. Keep the original file if you need them.
No. The result has the same width and height in pixels as the source.
Closest to the SVG theme color changer: SVG color replacer, Change an SVG logo's color, Unify icon set colors, WebP recolor tool. Each opens on its own page, free and in the browser.
The SVG theme color changer is one of 45 in its group. The group's page, /tools/svg, lists them all.
The tool is free. Its interface is built from shadcn.io's own components (Button, Input, Slider and the rest of the registry under /ui), which come in React, Vue, Svelte and Solid. Pro adds the blocks and templates for the product around it.
4.9 out of 5 from 150+ developers
Build the product around it
Every block, template and icon, installed by your AI agent in your theme. The tools stay free.
Get Pro


