The fastest way to change one color to another

The Select by Color tool combined with Hue/Saturation is the simplest path for most color replacements. You pick the color you want to change, Photoshop selects all pixels of that shade, and then you shift the hue to whatever you need. This works best when the color you're replacing is distinct from the rest of the image — a red shirt against a white background, or a blue sky with no blue elsewhere.

If the color appears in multiple places you want to keep (like a logo and a wall both in the same blue), or if you need to change only part of a color, the Hue/Saturation adjustment layer method gives you more control. You can target a specific color range and leave everything else untouched.

Key Takeaways

  • The Select by Color tool finds all pixels of a similar shade, then Hue/Saturation shifts them to a new color in seconds.
  • Adjustment layers let you change a color without permanently altering the original image, so you can undo or adjust later.
  • The Replace Color dialog combines selection and color shift in one window, which some people find faster than switching between two tools.
  • If the color you want to change is similar to colors you want to keep, you will need to manually paint a selection or use the Hue/Saturation color range sliders to isolate just what you need.

Using Select by Color and Hue/Saturation

Open your image in Photoshop. Go to the toolbox on the left side and click the Select by Color tool — it looks like a finger pointing at colored squares. If you don't see it, right-click and hold on the fuzzy select tool (the magic wand) until a menu appears, then choose Select by Color.

Click on the color in your image that you want to replace. Photoshop will select all pixels of that color and similar shades. You'll see marching ants (a dotted line) around the selected area. If the selection includes too much or too little, use the Tolerance slider at the top of the screen — lower tolerance selects only very similar colors, higher tolerance casts a wider net.

Once you have the right selection, go to the menu bar and choose Image > Adjustments > Hue/Saturation. A dialog box opens. Move the Hue slider left or right to shift the selected color to whatever you need. The Saturation slider controls how vivid the new color is, and Lightness makes it brighter or darker. Click OK when you're done, then go to Select > Deselect to remove the marching ants.

Why adjustment layers are safer than direct edits

The method above changes your image permanently. If you decide later that the new color doesn't work, you can undo, but only if you haven't saved and closed the file. A better habit is to use an adjustment layer, which sits on top of your image without actually changing the pixels underneath.

To do this, skip the Select by Color tool for now. Instead, go to the menu bar and choose Image > Adjustments > Hue/Saturation directly — or click the adjustment layer icon (a circle half-filled in black and white) at the bottom of the Layers panel and choose Hue/Saturation from the menu. A new layer appears above your image layer, and the Hue/Saturation dialog opens.

In the dialog, find the Colorize checkbox — leave it unchecked. Instead, use the colored buttons at the top of the dialog (Red, Yellow, Green, Cyan, Blue, Magenta) to target just the color range you want to change. Click the red button, for example, and only red tones shift when you move the Hue slider. This is much more precise than selecting by color first, because you can fine-tune exactly which shades get affected.

When you're happy with the result, click OK. The adjustment layer stays in your Layers panel, and you can double-click it anytime to tweak the color again. If you decide you hate it, just delete the layer and your original image is untouched.

Using Replace Color for a one-window approach

Some people find it faster to do the selection and color shift in one place. Go to Image > Adjustments > Replace Color. A dialog opens with a preview of your image and three tools: an eyedropper, a plus sign, and a minus sign.

Click the eyedropper, then click on the color in your image that you want to replace. The preview shows what will be selected in white. If the selection is too narrow or too broad, use the Fuzziness slider to adjust — it works the same way as Tolerance in the Select by Color tool. Use the plus and minus tools to add or remove colors from the selection if needed.

Once the selection looks right, move to the bottom of the dialog where you see Result. Click the color swatch next to Result and choose your new color from the color picker. You can also use the Hue, Saturation, and Lightness sliders to shift the selected color instead of picking a completely new one. Click OK when done.

When colors are too similar to select cleanly

If the color you want to change appears in places you want to keep (a blue shirt and a blue sky, for example), selecting by color will catch both. In this case, you need to manually paint the area you want to change.

Create a new blank layer by going to Layer > New > Layer. Choose the Paintbrush tool from the toolbox. Set your foreground color to the new color you want (click the foreground color square and pick from the color picker). Paint over only the area you want to change on the blank layer. Then lower the layer's opacity or change its blend mode to Overlay or Soft Light so the original image shows through with the new color tinted on top.

This method takes longer but gives you pixel-perfect control. You can erase parts of the painted layer with the Eraser tool if you paint over something by mistake, and you can adjust the opacity slider to make the color change more or less intense.

Using the Hue/Saturation color range sliders for precision

If you use an adjustment layer with Hue/Saturation and target a specific color (like Red or Blue), you can fine-tune exactly which shades get affected by using the sliders at the bottom of the dialog. These three sliders show a color spectrum with two triangles on each end.

The left and right triangles control which hues are included in the adjustment. Drag them inward to narrow the range so only the exact shade you want shifts. The middle triangle controls the transition — how soft or hard the edge is between affected and unaffected colors. This is useful when you have a gradient or a color that fades, because you can make the change blend smoothly instead of creating a hard line.

Experiment by moving the sliders while watching the preview. You'll quickly see which positions give you the color range you need without affecting the rest of the image.

Frequently Asked Questions

Can I change a color in just part of an image without affecting the whole thing?

Yes. Make a selection of just the area you want to change using the Rectangle Select, Lasso, or Free Select tool, then explore Hue/Saturation. Only the selected area will shift. Alternatively, use an adjustment layer with the color range sliders to isolate a specific shade across the whole image.

What if I want to change a color to something completely different, not just shift the hue?

Use Replace Color and click the color swatch to open the color picker, then choose any color you want. Or paint a new layer with your chosen color and blend it using Overlay or Soft Light mode. The Hue/Saturation method works best for shifting within the color wheel, but Replace Color lets you jump to any color.

Why does my color selection include colors I didn't want to change?

Lower the Tolerance slider in the Select by Color tool — it's probably set too high. Start at 20 and click your target color again. If it still selects too much, go lower. If it selects too little, go higher. You can also use the Hue/Saturation color range sliders to narrow down exactly which shades are affected.

Can I undo a color change after I've saved the file?

No, not if you've closed Photoshop. Always use adjustment layers instead of direct edits so you can change your mind later. If you've already made a permanent change, you can undo it only if the file is still open and you haven't saved yet — use Ctrl+Z (Windows) or Command+Z (Mac).

Is there a way to change multiple different colors at once?

Create separate adjustment layers for each color you want to change. Target each one to a different color range (one for reds, one for blues, and so on) using the colored buttons in Hue/Saturation. This keeps each change separate and reversible.