Replace Color in Image

Swap any color in your image with another. Pick source and target colors, adjust tolerance, and download. Free, browser-based, no upload to any server.

Replace Color Settings

#ffffff
#000000
50
Lower = exact match onlyMore forgiving

How to Replace a Color in an Image

Swap any color for another in 3 simple steps — no software to install

1

Upload Your Image

Drag and drop or click to upload any photo. Supports JPG, PNG, and WebP formats up to 50MB.

2

Pick Colors & Tolerance

Select the color to find and the replacement color. Adjust the tolerance slider to control the range of colors affected.

3

Download Your Image

Pick your output format (PNG, JPG, or WebP), adjust quality if needed, and click Download to save.

Replace Color Tool Features

A fast, free color replacement tool with everything you need

Dual Color Picker

Pick both the source color to find and the target replacement color using intuitive color pickers.

Adjustable Tolerance

Fine-tune how closely pixels must match the source color. Low tolerance for exact matches, higher for similar shades.

Real-Time Preview

See the result instantly as you change colors and tolerance. Preview updates in real time as you adjust settings.

Multiple Output Formats

Save your recolored image as PNG for lossless quality, JPG for smaller files, or WebP for the best compression ratio.

100% Browser-Based

All processing happens locally in your browser. Your images are never uploaded to any server, ensuring complete privacy.

No Signup Required

Start replacing colors immediately. No account needed, no email required, no watermarks added. Completely free to use.

Replace Color FAQ

Common questions about replacing colors in images

How does the color replacement tool work?

You pick a source color (the color to find) and a target color (the replacement). The tool scans every pixel and replaces any pixel within the tolerance distance of the source color with the target color.

What does the tolerance slider do?

The tolerance controls how closely a pixel must match the source color to be replaced. A low tolerance (e.g., 10) replaces only pixels very close to the exact source color. A high tolerance (e.g., 100) replaces a wider range of similar shades.

Can I change a white background to another color?

Yes. Set the source color to white (#ffffff), pick your desired background color as the target, and adjust the tolerance until the background is fully replaced while keeping your subject intact.

Is my image uploaded to a server?

No. All processing happens directly in your browser using the HTML5 Canvas API. Your images stay on your device and are never sent to any server.

What image formats are supported?

You can upload JPG, PNG, WebP, and other common image formats. For output, you can choose between PNG (lossless), JPG (smaller file size), or WebP (best compression).

Can I replace colors on my phone?

Yes, this tool works in any modern mobile browser. Upload your photo, pick source and target colors, adjust tolerance, and download the result.

Ready to Replace a Color?

Upload your photo and swap any color instantly — completely free!

Replace Color Now