The fastest way to replace one color with another
The Select by Color tool combined with the Hue/Saturation adjustment is the quickest method for most images. Select the color you want to change, then shift the hue slider to swap it for a new color. This works best when the color you're replacing is distinct from surrounding colors — a red apple against a green background, for example.
If you need more control or the color appears in multiple unrelated areas of the image, the Color Range selection (Select menu > Color Range) lets you target a specific color across the entire image at once, then adjust it without affecting similar colors elsewhere. For precise work on a single object, the Replace Color tool gives you a preview of the change before you commit.
Key Takeaways
- The Select by Color tool picks out all pixels of a similar shade, then Hue/Saturation shifts them to a new color without affecting the rest of the image.
- Color Range selection (under the Select menu) finds that color everywhere in the image at once, which is faster than selecting by hand when the color repeats in separate areas.
- The Replace Color tool shows you a live preview of the color swap before you explore it, making it useful when you need to see the result on the actual image.
- Feathering your selection by 1 to 3 pixels prevents hard edges where the color change meets the rest of the image.
- If the color you want to replace sits next to similar colors, use the Fuzzy Select (Magic Wand) tool instead and adjust the Tolerance slider to control how many nearby shades get selected.
Using Select by Color and Hue/Saturation for straightforward color swaps
Open your image and choose the Select by Color tool from the toolbar (it looks like a finger pointing at colored squares). Click on the color you want to replace. Photoshop selects all pixels of that color throughout the image. If the selection includes areas you don't want to change, hold Alt and click those areas to subtract them from the selection.
Once you have the color selected, go to Image > Adjustments > Hue/Saturation. The Hue slider shifts the selected color around the color wheel — move it left or right until the preview shows the new color you want. The Saturation slider controls how vivid the new color appears, and Lightness adjusts brightness. Click OK when the preview looks right. Deselect by pressing Ctrl+D (Windows) or Cmd+D (Mac) to see the final result without the marching ants outline.
This method works fastest on images where the color you're replacing is visually separate from nearby colors. If your red object sits next to orange or pink areas, the Select by Color tool may grab those too. In that case, lower the Tolerance setting in the tool options before clicking — a tolerance of 20 to 30 usually catches the main color without the neighbors.
Using Color Range for colors that appear in multiple spots
If the color you want to change appears in several unrelated parts of the image — say, a blue shirt, blue shoes, and a blue background — use Color Range instead. Go to Select > Color Range. A dialog box opens with a preview of what will be selected. Click on the color in your image that you want to replace.
The Fuzziness slider works like Tolerance: move it right to include more similar shades, left to be more strict. Once the preview shows only the color you want, click OK. Photoshop creates a selection of that color everywhere it appears. Then open Hue/Saturation (Image > Adjustments > Hue/Saturation) and adjust the sliders as described above.
Color Range is more powerful than Select by Color because it shows you the selection before you commit to it. If the preview includes unwanted areas, you can adjust Fuzziness and try again without starting over. This saves time when you're working with a color that has slight variations in shade across the image.
Using the Replace Color tool for a live preview
The Replace Color tool combines selection and adjustment in one dialog. Go to Image > Adjustments > Replace Color. A window opens showing your image with a preview. Click on the color you want to replace in the image itself — not in the dialog.
Three sliders appear: Hue, Saturation, and Lightness. Adjust them to see the new color appear on your image in real time. The Selection section at the bottom shows a black-and-white preview of what's being selected — white areas will change, black areas won't. If the selection includes unwanted colors, increase the Fuzziness slider to be more selective, or decrease it to grab more of the target color. Once the preview matches what you want, click OK.
This tool is best when you want to see the color change on the actual image before committing. It's slower than Hue/Saturation for straightforward swaps, but the live preview prevents mistakes on complex images where you're not sure how the new color will look in context.
Avoiding hard edges and unnatural results
When you select a color and change it, the edge where the new color meets the unchanged part of the image can look sharp and artificial. To soften this, feather your selection before making the adjustment. After you've selected the color but before you open Hue/Saturation or Replace Color, go to Select > Modify > Feather. Enter 1 to 3 pixels (depending on image size and how soft you want the edge). Click OK, then proceed with your color adjustment.
Feathering blends the color change gradually into the surrounding pixels, so the transition looks natural instead of painted on. For small images or detailed work, use 1 pixel. For larger images or when you want a softer transition, try 2 to 3 pixels. If you feather too much, the color change will fade out before it reaches the edge of the object, leaving a halo of the original color.
When to use Fuzzy Select instead of Select by Color
The Fuzzy Select tool (Magic Wand) selects only the connected area of a color, not all instances of that color across the image. Use it when the color you're replacing is surrounded by other colors and you only want to change one region. For example, if you have a blue sky and blue water and you only want to change the sky, Fuzzy Select lets you click the sky and leave the water alone.
Click the Fuzzy Select tool in the toolbar (it looks like a magic wand). Click on the color area you want to select. The Tolerance setting in the tool options controls how many similar shades get included — start at 20 and adjust up or down based on the preview. Hold Shift and click to add more areas to the selection, or hold Alt and click to subtract. Once you have the right selection, open Hue/Saturation and adjust as usual.
Frequently Asked Questions
Why does my color selection include colors I don't want to change?
The Tolerance or Fuzziness setting is too high, so it's grabbing similar shades along with your target color. Lower the Tolerance before clicking (for Select by Color) or adjust Fuzziness in the dialog (for Color Range or Replace Color). Start at 15 to 20 and increase only if the selection misses parts of the color you want.
How do I change only part of a color, like just the blue in a shirt and not the blue sky?
Use the Fuzzy Select (Magic Wand) tool instead of Select by Color. It selects only the connected area you click on, so you can target the shirt without touching the sky. If the shirt and sky touch, draw a selection with the Lasso tool to separate them first, then use Fuzzy Select within that boundary.
The color changed but it looks washed out or too bright. How do I fix it?
Undo (Ctrl+Z or Cmd+Z) and reopen Hue/Saturation. Increase the Saturation slider to make the color more vivid, or adjust Lightness to brighten or darken it. The Hue slider only shifts the color around the wheel, not its intensity. Preview the change before clicking OK.
Can I change a color in just one layer without affecting other layers?
Yes. Make sure the layer you want to edit is selected in the Layers panel, then make your color selection and adjustment. The change only affects that layer. If you want to preserve the original, duplicate the layer first (right-click the layer > Duplicate Layer), then edit the copy.
What's the difference between Replace Color and Hue/Saturation?
Replace Color shows a live preview on your actual image before you explore the change, while Hue/Saturation requires you to select first, then adjust. Both produce the same result. Use Replace Color if you want to see the change in context; use Hue/Saturation if you prefer to select and adjust separately.