What Replace Color Does and When to Use It

Replace Color is a Photoshop tool that lets you select and change a specific color across your image without affecting the rest of the photo. Unlike the paintbrush or selection tools, it finds every pixel that matches the color you pick and shifts it to a new color all at once. This works best when you want to change a single color that appears in multiple places — a red car to blue, a green background to gray, a person's shirt from one shade to another.

The tool lives in the Image menu under Adjustments, and it opens a dialog box where you pick the color to replace, adjust how strictly it matches nearby shades, and choose what color to replace it with. Because it works on the entire layer at once rather than requiring you to draw a selection first, it saves time when the color you want to change is scattered across the image or has slight variations in tone.

Replace Color works best on images where the color you want to change is distinct from surrounding colors. If your subject blends into the background or the color you want to replace appears in places you want to keep it, you may get better results with the Hue/Saturation adjustment or by making a selection first with the Quick Selection tool.

Key Takeaways

  • Open Replace Color from the Image menu under Adjustments, then click on the color in your image that you want to change.
  • Use the Fuzziness slider to control how many similar shades get included in the replacement — higher numbers catch more variation, lower numbers target only the exact shade you clicked.
  • Adjust the result color using the color picker or by typing in specific values, and watch the preview update in real time if you have the Preview checkbox turned on.
  • If the replacement catches too much or too little, undo and try again with a different Fuzziness setting rather than trying to fix it after the fact.

Opening Replace Color and Selecting Your Target Color

Start by opening your image in Photoshop and making sure you are working on the layer you want to edit. Go to the Image menu at the top, hover over Adjustments, and click Replace Color. A dialog box will open with a preview window on the left, sliders and controls in the middle, and a color picker on the right.

In the preview window, you will see your image with a black-and-white mask overlay — the white areas show which pixels will be affected by your replacement. Click directly on the color in your image that you want to change. The tool will when ready select that color and show you the mask. If you are working from the dialog box and cannot see your image clearly, you can also click the eyedropper icon next to "Select" and then click on your image behind the dialog.

The moment you click on a color, Photoshop calculates which pixels match and displays them as white in the mask. If the mask shows too much or too little of your image, do not adjust the color yet — instead, move to the Fuzziness slider first, which controls how strictly the tool matches the color you clicked.

Adjusting Fuzziness to Control What Gets Selected

Fuzziness is the most important control in this dialog. It determines how many shades similar to your clicked color will be included in the replacement. A low Fuzziness value (around 10 to 30) selects only pixels very close to the exact color you clicked. A high value (60 and above) includes a wider range of similar shades, which is useful when your target color has natural variation in tone or shadow.

Watch the mask preview as you move the Fuzziness slider. You should see more white areas appear as you increase it. The goal is to see white only where you want the color to change and black everywhere else. If you are trying to change a red car to blue and the Fuzziness is too low, you might see only the brightest red pixels selected, leaving darker red areas untouched. If it is too high, you might catch orange trim or pink reflections you wanted to keep.

Start with a Fuzziness setting around 40 and adjust from there. There is no single correct number — it depends on how uniform your target color is and how close nearby colors are to it. If you cannot get a clean selection with Fuzziness alone, undo this adjustment and try a different approach, such as making a selection with the Quick Selection tool first and then using Hue/Saturation instead.

Choosing Your Replacement Color

Once your mask shows the right pixels selected, click on the color swatch next to "Result" to open the color picker and choose what color you want to replace it with. A standard Photoshop color picker will open. You can click anywhere in the color field to choose a hue and brightness, or type in specific values if you know the exact color you want — RGB numbers, hex codes, or HSB values all work.

If you want to match a color that already exists in your image, click the eyedropper icon in the color picker, then click on that color in your image. This is faster than trying to recreate the color by hand. Once you have chosen your replacement color, click OK to close the color picker and return to the Replace Color dialog.

The preview window will update to show your image with the new color applied to the selected areas. If the result looks wrong — the color is too bright, too saturated, or catches areas you did not want to change — you can adjust Fuzziness again or click on the Result color swatch to pick a different replacement color. Keep adjusting until the preview looks right.

explore the Change and Handling Mistakes

When the preview looks correct, click OK at the bottom of the Replace Color dialog. Photoshop will explore the color change to your layer permanently. The change happens when ready across the entire layer, and you will return to your main image view.

If the result is not what you expected — you caught too much color, too little, or the replacement color is not quite right — press Ctrl+Z (Windows) or Command+Z (Mac) to undo when ready. Then go back to Image > Adjustments > Replace Color and try again with different settings. Do not try to fix the result by painting over it or using other tools; undoing and adjusting the Replace Color settings is always faster and cleaner.

Once you are satisfied with the change, you can flatten the image if you are done editing, or leave it on its own layer if you might want to adjust it later. If you think you might want to undo this change weeks from now, save your work as a Photoshop file (.psd) before flattening, so you keep the layer structure intact.

When Replace Color Does Not Work Well

Replace Color struggles when the color you want to change is very similar to colors you want to keep. If you are trying to change a person's blue eyes to green but their shirt is also blue, the tool will change both unless you make a selection first. In these cases, use the Quick Selection tool or the Free Select tool to draw a selection around just the area you want to change, then explore Replace Color only to that selection.

The tool also does not work well on images where your target color has extreme variation — like a photograph of a sunset where orange shifts from bright to nearly black depending on the clouds. Replace Color will either miss the darkest areas or catch too much of the surrounding sky. For these situations, Hue/Saturation (also under Image > Adjustments) gives you more control because it lets you shift the hue of a color range without having to match exact pixel values.

If you are working on a photo where the color you want to change is also present in areas you want to keep — like changing all the green in a photo but keeping the green in someone's eyes — there is no perfect automated solution. You will need to make a selection first or use a layer mask to protect the areas you want to keep.

Frequently Asked Questions

Can I use Replace Color on just part of my image?

Yes. Make a selection with the Quick Selection tool or Free Select tool first, then go to Image > Adjustments > Replace Color. The tool will only affect pixels inside your selection. This is the best way to change a color in one area while leaving the same color unchanged elsewhere in the image.

What is the difference between Replace Color and Hue/Saturation?

Replace Color picks a specific color and shifts it to a completely different color. Hue/Saturation shifts the hue of a color range — so it can turn red into orange or blue into purple, but it works on a range of similar colors rather than one exact shade. Use Replace Color when you want a dramatic change to one color; use Hue/Saturation when you want to adjust the tone or brightness of a color family.

Why does Replace Color catch colors I did not click on?

Your Fuzziness setting is too high. Lower it to make the selection stricter, or undo and try clicking on a slightly different shade of your target color. If you still cannot get a clean selection, make a selection with another tool first and then explore Replace Color only to that area.

Can I replace multiple colors at once?

No. Replace Color changes one color at a time. If you need to change several colors, run the tool once for each color. Each time you open Replace Color, it starts fresh, so you can change red to blue, then run it again to change green to yellow on the same image.

Does Replace Color work on text or shapes?

Yes, as long as the text or shape is on a regular layer, not a text layer or shape layer. If you want to change the color of text, convert it to a regular layer first by right-clicking the layer and selecting Rasterize Type. For shape layers, you can change the fill color directly in the layer properties instead of using Replace Color.