How to Use Replace Color in Photoshop

Photoshop has two tools built for swapping one color for another: the Replace Color command, which changes every matching color at once, and the Color Replacement tool, which paints the new color on. Here is how to use both, which settings matter, and what to do when the result looks wrong.

Quick answer:

  1. Duplicate the layer with Ctrl+J (Cmd+J on Mac).
  2. Choose Image → Adjustments → Replace Color.
  3. Click the color to change, then adjust Fuzziness until only it is white in the preview.
  4. Move the Hue, Saturation and Lightness sliders, or click the Result swatch, and click OK.
The Replace Color dialog turning a red sports car blue: Fuzziness set to 90, the Selection preview showing the car in white and Hue set to -150
Replace Color turning a red car blue (shown in PhotoQuill, which has the same dialog as Photoshop).

Method 1: Replace Color (Image → Adjustments → Replace Color)

Replace Color selects a color by sampling it, the way Select → Color Range does, and shifts it to a new hue in one step. It is the fastest way to change a car, a shirt or a logo that is mostly one color.

  1. Duplicate the layer. Replace Color changes the pixels themselves and has no adjustment-layer version, so press Ctrl+J first. If you only want to change part of the image, make a selection now; the command only affects what is selected.
  2. Open the dialog: Image → Adjustments → Replace Color.
  3. Sample the color. With the first eyedropper, click the color you want to change, either in the image or in the preview. Shift-click (or use the + eyedropper) to add lighter and darker shades of it; Alt-click (Option-click on Mac, or the − eyedropper) to remove colors you didn't mean to pick.
  4. Set Fuzziness. Leave the preview on Selection: white areas will change, black areas won't. Raise Fuzziness until the whole object is white, and lower it if the background starts to turn gray. If the same color also appears elsewhere, tick Localized Color Clusters so only areas near your samples are selected.
  5. Choose the new color. Drag Hue to shift the color around the color wheel, then fine-tune Saturation and Lightness. For an exact brand color, click the Result swatch and pick it in the Color Picker. Click OK.
  6. Clean up. Add a layer mask to the duplicate and paint black over any area that changed by mistake, such as a reflection or a nearby object of a similar color.

Replace Color Settings at a Glance

SettingWhat it doesTip
Eyedroppers (sample, +, −)Choose which colors are selectedSample the mid-tone first, then add highlights and shadows with +
Fuzziness (0–200)How far from the sampled colors the selection reaches40–100 suits most objects; watch the preview, not the number
Localized Color ClustersLimits the selection to areas near the spots you sampledUse it when the same color appears elsewhere in the photo
Selection / Image previewShows the selection mask or the imageStay on Selection while sampling
Hue, Saturation, LightnessShift the selected colorsHue changes the color, Lightness changes how dark it is
Result swatchSets an exact target colorBest for matching a brand or product color

Method 2: The Color Replacement Tool (Paint the New Color On)

The Color Replacement tool is a brush that swaps the color under it for your foreground color while keeping the texture and shading. It is better than Replace Color when you only want to recolor a small, specific area, such as eyes, lips or a single stripe.

  1. Duplicate the layer, then pick the Color Replacement tool. It shares a slot with the Brush tool; press Shift+B to cycle to it.
  2. Set the foreground color to the new color.
  3. In the options bar choose Mode: Color, Sampling: Continuous and Limits: Find Edges, and start with a Tolerance of about 30%.
  4. Paint over the area. Keep the crosshair in the center of the brush on the color you want to replace; it is the color under the crosshair that gets sampled.
OptionChoicesWhen to use
ModeHue, Saturation, Color, LuminosityColor for most recoloring; Hue to keep the original saturation
SamplingContinuous, Once, Background SwatchOnce when the color under the brush varies and you only want the first one
LimitsDiscontiguous, Contiguous, Find EdgesFind Edges keeps sharp outlines crisp
Tolerance1–100%Lower it if the color spills onto neighboring areas

Replace Color vs Hue/Saturation vs Color Replacement Tool

ToolBest forEditable later?
Replace ColorChanging every area of one color at onceNo; use a duplicate layer
Hue/Saturation adjustment layerRecoloring one color range non-destructivelyYes, with a mask
Color Replacement toolSmall, precise areas you paint by handNo; use a duplicate layer

For the non-destructive Hue/Saturation method and other ways to recolor an object, see how to change the color of something in Photoshop.

When Replace Color Doesn't Work

How to Replace a Color for Free, Without Photoshop

PhotoQuill is a free Photoshop-style editor that runs in your browser, and it has the same Image → Adjustments → Replace Color dialog: the three eyedroppers, Localized Color Clusters, Fuzziness, the Selection and Image previews, and Hue, Saturation and Lightness. It also has a Color Replacement tool. Open your photo or PSD, follow the steps above, and save the result as a PSD, PNG or JPG. There is nothing to install and no account needed. The screenshot at the top of this page was made in PhotoQuill.

Replace a Color in Your Browser

Open PhotoQuill, drop in your image and choose Image → Adjustments → Replace Color. Free, with no download or sign-up.

Open PhotoQuill Free

Frequently Asked Questions

How do I replace one color with another in Photoshop?

Choose Image → Adjustments → Replace Color, click the color you want to change, adjust Fuzziness until only that color is selected, then set the new color with the Hue, Saturation and Lightness sliders or the Result swatch and click OK. Work on a duplicate layer, because the change is applied directly to the pixels.

Where is Replace Color in Photoshop?

It is under Image → Adjustments → Replace Color. It is not in the Adjustments panel and cannot be added as an adjustment layer.

Can I use Replace Color as an adjustment layer?

No. Replace Color changes the pixels of the active layer. For an editable result, use a Hue/Saturation adjustment layer limited to one color range with a mask, or apply Replace Color to a duplicate layer so you can mask or delete it later.

Why is Replace Color grayed out?

It only works on pixel layers, and not in Indexed Color or Bitmap documents. Rasterize a copy of a text, shape or Smart Object layer, or convert the document with Image → Mode → RGB Color.

How can I replace a color without Photoshop?

PhotoQuill is a free editor that runs in your browser and has the same Image → Adjustments → Replace Color dialog, with eyedroppers, Localized Color Clusters, Fuzziness and Hue, Saturation and Lightness, plus a Color Replacement tool. It needs no download or account.