Skip to content
Boltpic

Replace a Color in an Image

Click the color you want to change in your image, and similar areas are swapped to the new color you picked.

Change the clicked color to any color

Pick a new color, then click the color you want to change in the image, and areas of a similar color are replaced at once. Handy for quickly editing logos, icons, solid backgrounds, and accent colors.

Change the clicked color to any color

Fine-tune the range of colors replaced

Adjust the tolerance to also replace colors close to the one you clicked. Lower it for precision; raise it to extend the change to shadows and edge colors.

Fine-tune the range of colors replaced

Frequently asked questions

Do I need to upload an image to replace colors?

You do need to choose an image to replace its colors. But the image you choose is never sent to a server and is processed entirely in your browser. After selecting an image, pick the new color to apply, then click the color you want to change — areas of a similar color are replaced at once.

Does it change every matching pixel?

Yes. It finds pixels that match or resemble the color you clicked and swaps them for the new color you picked. It doesn't only change perfectly identical colors — depending on the tolerance, it can also change similar colors. For example, areas with a fairly uniform color — a near-white background, a blue logo, or an icon in a specific color — are easy to replace in one go.

What is tolerance?

Tolerance sets how similar a color has to be to the one you clicked to be replaced too.

ToleranceWhat gets replaced
LowOnly pixels nearly identical to the clicked color
MediumAlso edges and slightly different colors
HighMay replace shadows, compression artifacts, and color bleed over a wide range

If it's too low, some color may remain; if it's too high, areas you didn't want to change may be affected. Start with a small value and raise it gradually while checking the preview.

Which formats can I use?

Generally, you can use JPG, PNG, and WebP images. It's useful for changing specific colors in photos, logos, icons, screenshots, and illustrations.

FormatCharacteristicsBest for
PNGCrisp quality, supports transparent backgroundsLogos, icons, UI images
JPG / JPEGGood for photos, relatively small sizeGeneral photos, blog images
WebPSmall size for the qualityWebsites, thumbnails, optimized images

If you need to keep a transparent background, save as PNG or WebP.

Are my images uploaded to a server?

No. The image you choose is never sent to a server and is processed entirely in your browser. Picking the color, analyzing pixels, replacing the color, and generating the result all happen locally. That makes it safer to work with files you'd rather not upload — personal photos, work images, or document captures.

Is the original image kept?

Yes, your original image stays untouched. Color replacement doesn't modify the original file directly; it creates a new image with the changed color for you to download. For example, changing blue to green in logo.png leaves the original file as is and saves only the new, edited result.

Can I naturally change the color of clothes or objects in a photo?

For areas close to a single color, color replacement works reasonably well. But areas where colors mix in complex ways — clothing, hair, skin, shadows, or reflections in a photo — are replaced based only on the clicked color, so the result may not look perfectly natural. This tool is closer to a color-based replacement tool than AI object editing. You'll get the best results on images with fairly clear color boundaries, like logos, icons, solid backgrounds, and illustrations.

Is transparency kept after changing a color?

With a format that supports transparency, like PNG or WebP, you can replace colors while keeping the transparent areas. JPG doesn't support transparency, though, so save images that need a transparent background as PNG or WebP. For images where a transparent background matters, like logos or icons, be sure to check the format you save the result in.

What if the original color is left along the edges?

The original color can remain along the edges because anti-aliasing, shadows, or compression artifacts mix in pixels different from the central color. In that case, raise the tolerance gradually and check the result. Raising it too far can change areas you didn't intend, so start with a small value and adjust slowly. If needed, use the zoom feature to click the remaining edge colors again.