What Does This Icon Color Changer Do?
This tool recolors a single icon to one color of your choosing. Upload an SVG or a PNG, pick a target color with the picker, a hex field, or one of ten presets, and the tool rewrites the icon in that color while leaving its shape and transparency intact. Original and result sit side by side on a checkerboard background so you can confirm the outcome before downloading.
The two file types take different paths. For an SVG, the markup itself is edited: every fill and stroke attribute that is not set to none is replaced with your color, and the same substitution is applied to fill and stroke declarations inside style attributes. The output is still an SVG, so it stays resolution-independent and there is no quality loss at all. For a PNG, the image is drawn to a canvas and every pixel with a non-zero alpha value has its red, green, and blue channels overwritten with your color. The alpha channel is copied through untouched, which is what preserves both the transparent background and the soft anti-aliased edges of the artwork.
One color is applied to the whole icon, and that is the deliberate scope of the tool. It is built for the common case of a single-color glyph that needs to match a different brand or state color. It does not let you assign different colors to individual paths, convert hardcoded values to the currentColor keyword, measure contrast ratios, simulate color vision deficiencies, or generate CSS filter chains. Everything happens in your browser through JavaScript and the Canvas API, so the file is never uploaded.