Replace Color in Image Online

Pick a pixel or enter a HEX code to replace color in image files. Preview the new shade on your photo or logo, then save a full-size PNG.

How to change the color of an image

An image color changer is useful when the same shade appears in several places. For example, you can turn every blue marker on a map orange in one edit. The tool matches pixels across the whole image, including separate shapes that share the color.

  1. Choose a JPG, PNG or WebP, drag it into the box, or open the sample image.
  2. Tap a pixel in the preview to set Color to replace. For a flat fill, sample the middle of the shape.
  3. Open New color to pick a shade, or type its HEX code. Start with Color tolerance at 0% for an exact match.
  4. Switch between Original and Result to check the edges and other parts of the picture. Select Download PNG to save the edit.

For keyboard sampling, tab to the image and use the arrow keys to move one original pixel. Hold Shift to move ten pixels at a time. The readout shows the row, column and HEX code. Press Enter or Space to pick that pixel.

Can I change image color online for free?

Yes. The free image color changer accepts JPG, PNG and WebP files up to 50 MB and 32 megapixels. Your browser processes the pixels on your device.

Image color replacer with HEX codes

To replace color in image files that share a logo, open each file in turn and use the same pair of HEX codes. Enter the old code under Color to replace and the new one under New color. Three-digit codes work too. For example, #369 expands to #336699. If your style guide lists RGB values, open the swatch and enter red, green and blue separately.

Which pixels does color tolerance include?

Try changing blue #336699 to coral #E06D48. At 0%, all three RGB channels must match exactly. At 5%, each channel can differ from the source by up to 13 on the 0–255 scale. The table shows the output for three nearby shades.

Original pixelAt 0%At 5%
#336699#E06D48#E06D48
#386B9F#386B9F#E06D48
#3366AF#3366AF#3366AF

Using the PNG color changer on logos and icons

For a transparent logo, sample a solid letter or icon stroke and enter the new brand color. The PNG keeps its original dimensions and each pixel keeps its opacity. A half-transparent edge pixel stays half-transparent when its color changes. If the background is already clear, it stays clear. Recoloring a solid white background leaves it opaque.

How do I replace color in image text with soft edges?

Sample the solid part of a letter first. If an outline of the old color remains, switch to Original and sample the edge to see how far its HEX value is from the fill. Select the fill again, raise tolerance a little and check the lettering in Result.

Photo color changer for JPG and WebP

A red sign in a JPEG can contain many reds, even where the paint looks uniform. Sample a midtone on its face, then raise tolerance until the intended area changes. Check other red objects in the frame after each adjustment. Each matching pixel gets the same new RGB value, so a wide tolerance can flatten highlights and shadows.

Can I replace color in image backgrounds and keep the subject unchanged?

Only if their colors are distinct. If a sign and a shirt are similar reds, lower tolerance until only the sign changes. If they share the exact same red, both will change even at 0%. To recolor the sign alone in that case, use an editor with a selection or mask.

How to replace color in image palettes one shade at a time

For a chart with several series, save each replacement as a PNG and reopen it for the next edit. With tolerance at 0%, you can work in any order if every new color is absent from the original palette. When two series need to trade colors, the order matters.

How to swap two colors in an image

To exchange two flat colors in a map legend, give one color a temporary value. This keeps the two groups of pixels distinct. Choose a temporary color that appears nowhere in the original, and use 0% tolerance for all three passes.

  1. Change red to the temporary color, such as magenta, and download the PNG.
  2. Open that PNG with Change image, set tolerance back to 0%, change blue to red, and save again.
  3. Open the second PNG, set tolerance to 0%, and change the temporary magenta to blue.

If you want to turn every color into its negative in one pass, use the image color inverter. To look up a complementary HEX code for a replacement, use the opposite color finder.