Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

Change Icon Colors

Upload an icon or image, pick a source color and a target color, adjust tolerance, and replace matching pixels instantly.

Your files never leave your browser
Drop icon or image here or click to upload
Supports PNG, SVG, JPG, WebP, GIF, BMP (max 50 MB)

Source Color

30

Target Color

Original

Recolored

Swap one color for another on any icon without opening Illustrator or Photoshop. Drop in a PNG, SVG, or JPG, pick the source color, choose a target, and tweak tolerance to catch anti-aliased edges. And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload Icon
➔
Pick Source & Target Color
➔
Download Recolored PNG

The tool draws your image onto an invisible canvas, then scans every pixel. When a pixel's RGB values fall within your tolerance range of the source color, it gets replaced with the target color. Alpha (transparency) stays untouched by default, so your icon edges remain clean. The whole process takes under a second for most icons.

Examples

Rebranding App Icons from Black to Brand Blue

You bought a flat icon set. Every icon is #000000. Your brand color is #2563EB.

INPUT
Source color: #000000 Target color: #2563EB Tolerance: 10
OUTPUT
All black pixels replaced with #2563EB. Transparency preserved. Anti-aliased edges stay smooth.

Dark Mode Toggle — White Icons to Light Gray

Pure white icons (#FFFFFF) look harsh on dark backgrounds. Toning them to #D1D5DB is softer on the eyes.

INPUT
Source: #FFFFFF Target: #D1D5DB Tolerance: 5
OUTPUT
White pixels now #D1D5DB. Background stays transparent.

Matching Notification Badge Colors Across Platforms

Your designer sent alert icons with red badges (#EF4444) but the iOS spec calls for #FF3B30. Instead of re-exporting from Figma, just swap the red.

INPUT
Source: #EF4444 Target: #FF3B30 Tolerance: 15
OUTPUT
Red badge recolored to iOS-spec red. Rest of the icon untouched.

Who Uses This

💻 App Developers

Recolor open-source icon packs to match a product's brand palette without touching a design tool.

🎨 UI Designers

Quickly test how icons look in a different color scheme before committing to a full redesign.

🚀 Startup Founders

Change downloaded free icon colors to match pitch deck and landing page branding — no designer needed.

📚 Teachers & Students

Recolor clipart icons for presentations and worksheets so they fit a consistent color theme.

Common Mistakes

Setting tolerance too high

A tolerance of 80+ will start replacing colors you didn't intend — gray shadows, anti-aliased edges, even parts of a different-colored section. Start around 10–20 and increase only if you see missed pixels.

Picking the wrong source color

What looks black on screen might actually be #1A1A1A or #333333. Use the eyedropper ("Pick" button) to sample directly from the icon instead of guessing the hex value.

Forgetting about anti-aliased edges

Icons with smooth edges have semi-transparent blended pixels. If your tolerance is too narrow, those edge pixels won't match and you get a halo of the old color. Bump tolerance up a bit or check the preview closely.

Technical Details

Frequently Asked Questions

How do I change the color of an icon in PNG format?

Upload the PNG here, use the eyedropper to pick the current icon color as your source, choose the new color as your target, and hit download. The whole thing takes about 10 seconds. Works with transparent PNGs too — the transparency stays intact.

Can I change multiple colors in one icon at the same time?

Not in a single pass. You'd need to change one color, download the result, then re-upload it and change the next color. It sounds tedious but each round takes seconds, so even three color swaps won't take more than a minute.

What does the tolerance slider do?

Tolerance controls how close a pixel's color needs to be to the source color before it gets replaced. At 0, only exact matches change. At 30, pixels that are slightly different (like anti-aliased edges or compression artifacts) also get swapped. Start low and increase until you're happy with the result.

Does this tool work with SVG icons?

Yes, but with a catch. SVGs get rasterized (converted to pixels) when loaded onto the canvas. The color replacement works fine, but you'll download a PNG, not an SVG. If you need to keep the vector format, editing the SVG's fill attributes in a text editor is usually faster.

Is my image uploaded to any server?

No. Zero server contact. The tool uses the HTML5 Canvas API to process your image entirely in the browser. Your file never leaves your device. You could disconnect from the internet after loading the page and it would still work.

Share: