Your pixels stay on your device.

Change Color of Image

Replace pixels near a chosen color.

Loading workspace…

Change color of image files by sampling the color you want to replace and choosing a new one. The default hue-shift mode keeps the shadows and texture of fabric, product photos, and logos, while a solid replace is better for flat icons. You can run the swap on the whole picture, brush one area, or replace up to five color pairs at once.

Open one image, or a batch of up to 50 files that share the same settings, each up to 50 MB. The tool accepts JPG, PNG, WebP, AVIF, HEIC, GIF (first frame only), and BMP. Drag a file in, paste it, choose it from disk, or take a photo with the camera.

Runs in your browser. Nothing is uploaded.

Formats
JPG · PNG · WebP · AVIF · HEIC · GIF +1
Max file
50 MB
A red logo is sampled with an eyedropper and shifts to blue while its shading stays intact
A red logo is sampled with an eyedropper and shifts to blue while its shading stays intact

How to Change the Color of an Image

  1. Open the photo, logo, or icon. Drag it in, paste it, choose a file, or use the camera.

  2. Click the color you want to replace. The eyedropper sets the source color from the pixel you hit.

  3. Choose the target color. You can type a hex value or pick one from the color control.

  4. Leave the mode on hue shift if you want to keep lighting and texture. Switch to solid replace for a flat fill, which suits icons and simple graphics.

  5. Set the tolerance (0–100, default 25). Raise it if shadows or a slight gradient are left behind; lower it if nearby colors are being pulled in. To limit the swap to one object, switch the area from all to brush and paint over that region.

  6. Add more pairs if you need them, up to five. Preview the result live, then download it in the original format, PNG, or JPG. A batch downloads as a ZIP.

Change Color of Image Features

Sample a Source Color and Choose a Target

You do not have to guess a hex value for the color already in the file. Click it with the eyedropper, then set the target. That is the usual path when a brand refresh names a new red, or when you want to color picker from image first and paste the code in.

Hue Shift Keeps Shadows; Solid Replace Fills Flat

Hue shift is the default because a real object is rarely one flat color. The tool builds a mask in OKLab, then rotates hue while keeping lightness, so folds in a shirt or shading on a product stay put. Solid replace paints the matched pixels with the new color and is the better choice for a flat PNG icon or a logo with even fills. If a photo looks fake after a swap, you are usually in solid replace, or the tolerance is too wide.

Tolerance, and a Brush When One Object Should Change

Tolerance starts at 25 on a 0–100 scale. Gradients and soft shadows often need a higher value, or they are left behind in the old color. If the same color appears in the background or on another object, switch the area from all to brush and paint only the part you want to recolor.

Up to Five Color Pairs, Including a Batch of Icons

One pair is enough for a single brand color. When a logo or a set of icons uses several, you can add up to five source-and-target pairs and preview them together. The same settings can be applied to as many as 50 files and downloaded as a ZIP, which is the usual way to recolor a folder of PNG icons in one pass.

Transparency Stays Intact

Preserve-alpha is always on. A transparent PNG icon keeps its clear background; only the colored pixels you matched are shifted or replaced. That is what people who search for "change color of png" usually need: a new fill, not a new box around the mark.

Change Color of Image Use Cases

Recolor a PNG Logo or Icon for a Brand Refresh

A designer is handed a logo or UI icons in last year's blue and asked for the new brand color, with no vector file. Open the PNG, sample the old fill, enter the new hex, and use solid replace for flat artwork, or hue shift for soft shading so highlights do not go matte. Transparency stays in place. To change color of image icons that share a palette, run a batch and download the ZIP.

Change the Color of a Garment or Product in a Photo

A seller or stylist needs a red jacket or a product shell in a second color without a new photoshoot. Open the photo, sample a mid-tone of the garment (not a deep crease or a specular highlight), set the target, and keep hue shift on so folds and fabric texture survive. If the new color spills onto skin or a similar red in the background, switch to the brush and paint only the garment. Raise tolerance just enough to catch the shaded folds.

Swap Black to Blue, or White to a Brand Color, on Flat Art

Icons, line art, and simple graphics are often drawn in black or white and need a brand color before they go on a site or a slide. Sample the black (or white), set the new color, and use solid replace so the fill is even. Keep tolerance tight so gray anti-aliased edges do not turn into a halo, then nudge it up if thin strokes are missed. The same steps work for changing one flat fill in a logo without opening a desktop editor.

Recolor One Object and Leave the Rest of the Frame Alone

A photo has two objects in a similar green, and only one should change. Set the source and target as usual, then switch the area to brush and paint the object you want. That keeps a similarly colored wall, plant, or prop untouched. If a soft shadow on the object still shows the old color, raise tolerance a little and brush those pixels too, rather than switching the area back to all.

Hue Shift or Solid Replace: When Each Mode Fits

Use hue shift when the subject has lighting you want to keep: clothing, product photos, anything with a gradient. The mask uses color distance in OKLab and preserves lightness, so a recolored shirt still looks like a shirt. Use solid replace when the artwork is already flat, such as a logo or an icon. In that mode the matched pixels take the new color directly, which is clean on even fills and harsh on a photograph.

Neither mode is an object-aware or "AI" recolor. It matches colors, not "the car" or "the dress." If two objects share a color, use the brush. A color overlay washes a color over the whole frame rather than replacing one sampled color.

Is the Change Color of Image Private?

Yes. This change color of image tool runs in your browser. The file is read locally, the preview is rendered on your device, and nothing is uploaded to our server. You do not need an account. The original file stays on your disk; if a preview is not what you wanted, close it and start again.

Change Color of Image FAQ

How do I change the color of an image?

Open the image, click the color you want to replace, pick the new color, and preview the result. Leave hue shift on to keep shadows and texture, or use solid replace for a flat fill. Adjust tolerance if too little or too much changes, then download the file.

How do I change the color of an object in a photo?

Sample only that color and start with a lower tolerance so nearby hues are not pulled in. If the same color appears elsewhere, switch the area from all to brush and paint the object you want to change. You can add more source-and-target pairs, up to five, when several colors need to move at once.

Can I change black to blue, or white to another color?

Yes. Click the black or white, set the target, and use solid replace if the artwork is flat. Keep tolerance conservative on anti-aliased edges so a gray fringe does not become a colored halo. The same steps work for any other source color.

Why does a recolored photo look flat?

You are likely on solid replace, which fills matched pixels with a single new color and erases the original lighting. Switch to hue shift, which keeps lightness, and sample a mid-tone rather than a highlight or a deep shadow. If only part of the subject should change, use the brush instead of raising tolerance on the whole frame.

Can I change the color of a PNG without losing transparency?

Yes. Transparency is always preserved. Recolor the filled pixels of a logo or icon and the clear background stays clear, so the file still sits cleanly on any page or slide. For a set of icons, apply the same pairs to a batch of up to 50 files and download a ZIP.

How do I change the color of an entire image?

Use a color overlay for that; this tool replaces only the colors you sample with colors you choose. An overlay washes one color over the whole image, like a tinted filter. Use replacement when a logo, garment, or icon needs a new specific color. Use an overlay when you want a wash or a mood over the entire frame.

Is my picture uploaded when I use this?

No. The image is processed in your browser and is not uploaded to our server. You do not need to sign in. Because the original stays on your device, you can close the tab or skip the download if you do not like the preview.

Is there a free app to change the color of an image?

You do not need one: this page is free, with no account and no install. On iPhone or Android, open the page in the browser, choose a photo or take one with the camera, and tap to sample the source color. The brush is useful on a small screen when only one area should change.

What to Do Next After You Change the Color of an Image

01Pick the New Color, or Pull a Palette

02Check and Export

All tools