Color Replace works by selecting a color range and shifting it to a new hue

Photoshop's Color Replace tool lets you change one color in an image to a different color without affecting the rest of the photo. You pick the color you want to change, then tell Photoshop what color to replace it with. The tool is fast and works best on images where the color you're targeting is distinct from surrounding colors — like changing a red shirt to blue, or a green background to orange.

There are two main ways to do this in Photoshop: using the dedicated Color Replace tool (the quickest method), or using Hue/Saturation adjustments (which gives you more control). This guide covers both, starting with the faster approach.

Key Takeaways

  • The Color Replace tool is in the toolbar on the left side of Photoshop, grouped with the Healing Brush — click and hold the bandage icon to find it.
  • You set the brush size, then click on the color you want to change; Photoshop automatically shifts that color range to your chosen replacement color.
  • Adjust the Tolerance slider in the tool options if the tool is changing too much or too little of the target color.
  • For more precise control over which colors change, use Hue/Saturation from the Image menu instead, which lets you isolate specific color ranges before shifting them.

Finding and selecting the Color Replace tool

Open your image in Photoshop and look at the toolbar on the left side of the screen. Find the Healing Brush icon — it looks like a bandage. Click and hold on it (don't just click once) and a menu will pop out showing other similar tools. Select Color Replace Tool from that menu.

Once you've selected it, the tool options panel will appear at the top of the screen. You'll see settings for Brush Size, Tolerance, and other options. Before you start, set your brush size to something slightly larger than the area of color you want to change. A brush that's too small will require many clicks; one that's too large will catch colors you don't want to change.

Setting your replacement color before you start

Before you click on the image, decide what color you want to replace the original with. Look at the bottom of the toolbar on the left — you'll see two overlapping squares (the foreground and background colors). The front square is your foreground color, which is what the Color Replace tool will use.

Click on the foreground color square to open the color picker. Choose the color you want to replace your target color with, then click OK. Now when you use the Color Replace tool, it will shift the original color toward this new color. If you're not sure what color you want yet, you can change it later — just come back to this step and pick a different one.

Clicking on the color you want to change

Now click directly on the color in your image that you want to replace. Photoshop will automatically detect that color and shift it toward your foreground color. One click often does the job, but if the color change isn't complete, click again on the same area or on another spot with the same color.

If the tool is changing colors you didn't intend to change, you've hit the most common problem: your Tolerance is too high. The Tolerance setting controls how broad a range of similar colors the tool will affect. Lower the Tolerance slider at the top of the screen (try 30 to 50 as a starting point) and try again. If the tool isn't changing enough color, raise the Tolerance.

Using Hue/Saturation for more control

If the Color Replace tool isn't giving you the precision you need, use Hue/Saturation instead. This method takes a few more steps but lets you isolate exactly which colors change. Go to the Image menu, then Adjustments, then Hue/Saturation.

A dialog box will open. At the top, you'll see a dropdown that says "Master" — click it and select the color range you want to change (Red, Yellow, Green, Cyan, Blue, or Magenta). Now move the Hue slider left or right to shift that color to a new hue. You can also adjust Saturation to make the color more or less vivid, and Lightness to make it brighter or darker. When it looks right, click OK.

The advantage of this method is that you're working with a specific color channel, so you won't accidentally change colors you didn't mean to touch. The disadvantage is that you're adjusting the entire red range (or whatever color you chose) across the whole image, so if you have multiple reds that you want to change differently, you'll need to use a layer mask or make multiple adjustments.

Fixing mistakes and undoing changes

If you've made a change you don't like, press Ctrl+Z (Windows) or Command+Z (Mac) to undo your last action. You can undo multiple times to go back several steps. If you've made many changes and want to start over with just that one tool, go to Edit and select Undo Color Replace.

If you want to undo just part of a color change — for example, you changed a red shirt to blue but you also accidentally changed a red sign in the background — use the History panel. Go to Window and select History to open it. You'll see a list of every action you've taken. Click on the state just before the color change you want to remove, and Photoshop will revert to that point. Then you can try again with different settings.

Working with layers to protect the rest of your image

For extra safety, work on a duplicate layer so you can't accidentally change your original image. Right-click on your layer in the Layers panel (on the right side of the screen) and select Duplicate Layer. Now make all your color changes on the duplicate. If something goes wrong, you can delete the duplicate layer and start over without losing your original.

You can also use a layer mask to limit where your color change appears. After you've made your color adjustment on a duplicate layer, click the layer to select it, then go to Layer and select Layer Mask and Add Layer Mask. Paint with black on the mask to hide the color change in specific areas, or paint with white to reveal it. This gives you pixel-by-pixel control over where the new color shows up.

Frequently Asked Questions

Why is the Color Replace tool changing colors I don't want to change?

Your Tolerance is too high. The Tolerance setting tells Photoshop how similar a color has to be to the one you clicked on before it gets changed. Lower the Tolerance slider at the top of the screen to 20 or 30 and try again. You may need to click more times to cover all the color you want to change, but you'll have much more control.

Can I change multiple different colors in one image?

Yes. Use the Color Replace tool once for each color you want to change, or use Hue/Saturation multiple times by opening the dialog, changing one color range, clicking OK, then opening Hue/Saturation again for the next color. Each time you open Hue/Saturation, you can select a different color channel to adjust.

What if the color I want to change is very similar to a color I want to keep?

Use Hue/Saturation instead of Color Replace, because you can select a specific color range (like "Red") and adjust only that range. If that's still not precise enough, make a selection around just the area you want to change using the selection tools, then apply your color adjustment only to that selection.

Does Color Replace work on all image types?

Color Replace works best on images with clear, distinct colors. It works on RGB images and CMYK images. If your image is in Grayscale mode, you'll need to convert it to RGB first — go to Image, Mode, and select RGB.

Can I save my color replacement as a preset so I can use it again?

If you're using Hue/Saturation, you can save your settings. In the Hue/Saturation dialog, look for a small menu icon (three horizontal lines) and click it, then select Save Settings. Give it a name and Photoshop will remember those Hue, Saturation, and Lightness values for next time. The Color Replace tool doesn't have a preset system, but you can always write down your Tolerance and Hue shift settings.