The fastest way to change one color to another
Photoshop has three main tools for replacing a color: the Hue/Saturation adjustment, the Select by Color tool with a fill, and the Color Range selection. For most work, Hue/Saturation is fastest because it isolates a single color range without touching the rest of the image, and you can preview the change in real time before committing to it.
The process takes about two minutes. You open the adjustment panel, choose which color you want to replace, drag the Hue slider to shift it to a new color, and save. If Hue/Saturation doesn't give you the control you need—for instance, if the color you want to change is very close to another color in the image—the Select by Color tool or Color Range method gives you more precision, but requires an extra step to isolate the area first.
Key Takeaways
- Hue/Saturation is the quickest method for replacing a single color across an entire image without affecting other colors.
- The Select by Color tool works best when you need to replace a color in one specific area and leave the same color untouched elsewhere in the image.
- Color Range selection gives you the most control over which shades of a color get replaced, useful when similar colors sit close together.
- Always work on a duplicate layer or use a non-destructive adjustment layer so you can undo or refine the change later.
Using Hue/Saturation to shift a color
Open your image in Photoshop. Go to the menu bar and click Image → Adjustments → Hue/Saturation. A panel will open on the right side of your screen with sliders for Hue, Saturation, and Lightness.
At the top of the Hue/Saturation panel, you will see a dropdown menu that says "Master." Click it and select the color range you want to replace—Red, Yellow, Green, Cyan, Blue, or Magenta. The image will not change yet; you are just telling Photoshop which color family to target. Now drag the Hue slider left or right. As you move it, the selected color will shift across the color wheel. Drag it slowly and watch the preview in your image. When the color looks right, stop.
If the new color looks too dull or too bright, adjust the Saturation slider (right makes it more vivid, left makes it more gray) or the Lightness slider (right brightens, left darkens). When you are satisfied, click OK. The change is permanent once you click OK, so if you think you might want to tweak it later, use the next method instead.
Using an adjustment layer for non-destructive editing
If you want to keep the option to change your mind, create an adjustment layer instead of explore Hue/Saturation directly. Go to Layer → New Adjustment Layer → Hue/Saturation. A dialog will ask you to name the layer; you can call it anything or just click OK. Photoshop will create a new layer above your image layer.
The Hue/Saturation panel will open the same way as before. Select your color range from the dropdown, adjust the Hue slider, and fine-tune with Saturation and Lightness if needed. When you click OK, the adjustment layer is created. Now you can see your change in the Layers panel on the right—it shows as a layer with a small icon. If you want to edit it again, double-click that layer. If you want to remove the change entirely, delete the adjustment layer. This method is safer because your original image stays untouched underneath.
Replacing a color in one area only with Select by Color
If the color you want to replace appears in multiple parts of your image but you only want to change it in one spot, use the Select by Color tool. Click the Select by Color tool in the toolbox on the left (it looks like a finger pointing at colored squares). In the tool options at the top, you will see a Tolerance setting, usually set to 32. Lower tolerance means it will only select colors very similar to the one you click; higher tolerance selects a broader range. Start with 32.
Click on the color in your image that you want to replace. Photoshop will select all pixels of that color (or close to it, depending on tolerance). You will see marching ants—a dotted line—around the selected area. If the selection includes too much or too little, undo (Ctrl+Z or Cmd+Z) and adjust the Tolerance slider up or down, then click again.
Once the selection looks right, go to Edit → Fill. A dialog will open. Choose Color from the dropdown at the top, then click the color swatch to open the color picker. Choose your new color and click OK. The selected area will fill with that color. To remove the selection, go to Select → Deselect (or press Ctrl+D / Cmd+D).
Using Color Range for precise control
Color Range is the most precise method when you have similar colors sitting next to each other and you need to replace only one. Go to Select → Color Range. A dialog will open with a preview of your image and a color picker tool.
Click on the color you want to select in the image. The dialog shows a black-and-white preview where white areas are selected and black areas are not. If the selection is too broad, lower the Fuzziness slider (this is Photoshop's word for tolerance). If it is too narrow, raise it. You can click multiple times in the image to add to the selection, or hold Shift and click to add more areas. When the preview shows only the color you want to replace, click OK.
Now you have a selection, just as with Select by Color. Go to Edit → Fill, choose your new color, and click OK. The selected color will be replaced. Deselect when you are done.
Common mistakes to avoid
The most common error is forgetting to deselect after filling. If you make another edit and it only affects a small area, you probably still have a selection active. Press Ctrl+D (Cmd+D on Mac) to deselect and try again.
Another mistake is using too high a tolerance with Select by Color. If you click on a red apple and the tolerance is set to 100, Photoshop might select the orange background too. Always start low and increase only if the selection is too small.
When using Hue/Saturation, remember that it shifts the entire color range you selected, not just one shade. If your image has both light red and dark red, and you select Red, both will shift. If you need to replace only the light red, use Select by Color or Color Range instead.
Saving your work
Once you are happy with the color replacement, save your file. If you used an adjustment layer, you can save as a Photoshop file (.psd) to keep the layer editable, or flatten the image first and save as .jpg or .png. To flatten, go to Image → Flatten Image. This merges all layers into one. Then go to File → Export As and choose your format.
If you used Select by Color or Color Range with a fill, the change is already permanent in your image layer. Save as .psd if you want to keep the original layer underneath, or flatten and export to your preferred format.
Frequently Asked Questions
Can I replace a color without affecting similar colors nearby?
Yes. Use Color Range or Select by Color instead of Hue/Saturation. These tools let you click on the exact color you want and adjust tolerance to exclude nearby shades. Hue/Saturation always shifts an entire color range, so it is not precise enough when colors are close together.
What if the color I want to replace is also in shadows or highlights?
Hue/Saturation will shift it everywhere it appears. If you want to replace the color in highlights only, use Select by Color, set a low tolerance, and click only on the bright areas. You can click multiple times to add to the selection without selecting the darker version of the same color.
How do I undo a color replacement?
If you used an adjustment layer, delete the layer. If you filled a selection, press Ctrl+Z (Cmd+Z) when ready to undo. If you already saved, you can reopen the file and use the adjustment layer method instead, or use Edit → Undo History to step back to before the fill.
Can I replace a color in just part of an image?
Yes. Use Select by Color or Color Range to select only the area you want to change, then fill. Or create a selection by hand using the lasso tool, then explore Hue/Saturation to just that selection. The adjustment will only affect the selected area.
Why does the new color look different than the color I picked?
If you used Hue/Saturation, the new color is a shift along the color wheel, not a direct replacement. The saturation and lightness of the original color are preserved. If you used Fill, make sure you picked the color from the color picker, not from the image itself, because the image color might be affected by lighting or layers above it.