Photoshop · Lesson 39 Adjustment: Replace Color
1 / 13
Photoshop · Lesson 39
Change the Color of Anything.
Without a Selection.
Replace Color is a hidden gem buried in the Image menu. It combines a color sampler with Hue/Saturation controls in a single dialog — click the color you want to change, adjust fuzziness to build the selection, then shift the hue, saturation, and lightness. No selection tools needed.
🎨
Eyedropper-Based
Click any color in your image to sample it. Shift+click to expand the range. The preview mask shows exactly what will change.
Fast Color Swap
Fastest way to change a single color in an image — a red jacket to blue, a green car to orange, a yellow flower to pink.
🎯
Built-In Mask Preview
The dialog shows a live black-and-white preview thumbnail. White = selected and will change. Black = protected. You see the selection as you build it.
🎨 Replace Color is like Color Range + Hue/Saturation fused into a single dialog. Sample → select → remap. No selection step required.
Foundations
What Replace Color Does
Three operations happen in one dialog: sample a color, build a selection by fuzziness, then shift that color's hue, saturation, and lightness.
1
Sample — Eyedropper clicks sample the color to change
Click anywhere in your image (or the preview thumbnail) with the eyedropper. Photoshop reads the color under the cursor and uses it as the selection target.
2
Select — Fuzziness builds the color range selection
Fuzziness controls how wide a color range is included around your sampled color. The preview mask shows white (selected) and black (protected) areas in real time.
3
Remap — Hue/Saturation/Lightness sliders shift the color
The bottom third of the dialog contains Hue, Saturation, and Lightness sliders. Drag Hue to shift the color, Saturation to punch it up or mute it, Lightness to brighten or darken.
🧠 The entire workflow — select + adjust — lives in one dialog. Click OK and the change is applied. No extra steps, no Hue/Sat layer needed.
Important
Replace Color Is Destructive
Replace Color lives under Image > Adjustments — the destructive branch of Photoshop. It edits pixels directly with no built-in undo history beyond the Edit menu.
⚠️
Always Work on a Duplicate Layer or Smart Object
If you apply Replace Color to the Background layer and click OK, those pixels are changed permanently. Work on a duplicate (Ctrl/Cmd+J) or convert to a Smart Object first. Smart Objects don't support Replace Color directly — use a duplicate layer.
Background Layer
Apply Replace Color here and the original pixels are gone. One click, permanent. If you close and save, there is no going back.
vs
Duplicate Layer
Ctrl/Cmd+J first. Apply Replace Color to the copy. The original Background layer is always intact beneath it — hide the copy to restore instantly.
⚠️ Rule: Before opening Image > Adjustments > Replace Color, press Ctrl/Cmd+J. Edit the copy. Always.
Workflow
How to Apply Replace Color Safely
1
Duplicate the Layer — Ctrl/Cmd+J
Right-click the layer and choose Duplicate Layer, or press Ctrl/Cmd+J. Work on the copy. Original Background stays protected below.
2
Image Menu → Adjustments → Replace Color
With the duplicate layer active, go to Image > Adjustments > Replace Color. The dialog opens with the eyedropper ready and a preview thumbnail in the center.
3
Sample the Color in the Image
Click on the color you want to change directly in the canvas (not just the thumbnail). Watch the preview mask — the clicked area turns white. Use Shift+click to add more areas.
4
Adjust Fuzziness → Drag Hue Slider → OK
Tune Fuzziness to capture all of the target color without spilling into other areas. Drag the Hue slider to shift the color to your target. Review the preview, then click OK.
Click in the actual canvas for sampling — not just the dialog thumbnail — for the most accurate color selection.
Reference
The Replace Color Dialog Explained
A
Selection Preview Thumbnail
Black-and-white thumbnail in the center of the dialog. White pixels = selected and will be affected. Black pixels = protected. Gray = partially selected (will be partially affected).
B
Eyedropper Tools (three icons)
Standard eyedropper = set new selection. Plus eyedropper (Shift+click) = add to selection. Minus eyedropper (Alt/Option+click) = subtract from selection. Use these to precisely build your mask.
C
Fuzziness Slider (0–200)
Expands or contracts the color range selected around your sampled color. Low = precise match only. High = broader color family. Watch the preview thumbnail to judge the spread.
D
Hue / Saturation / Lightness Sliders
Hue shifts the color. Saturation adjusts intensity. Lightness brightens or darkens. A Result color swatch at bottom right shows a live preview of the replacement color.
E
Localized Color Clusters Checkbox
When checked, limits selection to areas near where you clicked — prevents selecting similar colors elsewhere in the image. Very useful for containing the selection on complex backgrounds.
💡 Toggle the "Selection" / "Image" radio buttons below the thumbnail to switch the preview between the mask view and the image view as you work.
Technique
Building the Selection — Eyedropper Tools
The three eyedroppers are how you build your color mask. Use them iteratively — click, check the preview, refine.
1
Click (Standard Eyedropper) — Set the Base Color
Click once in the image on the primary color you want to change. The preview mask should show white in the target area. This replaces any previous sample.
2
Shift+Click (Add Eyedropper) — Expand the Range
If parts of the target color are not selected (showing black in the mask), Shift+click those areas to add them. Keep Shift+clicking until the entire target area is white in the preview.
3
Alt/Option+Click (Subtract Eyedropper) — Remove Spill
If similar colors elsewhere in the image are turning white (getting selected when they shouldn't), Alt/Option+click those areas to subtract them from the selection.
👁️
Read the Preview Mask
White = will change. Black = protected. Gray = partially affected. Before dragging any Hue slider, make sure the mask is showing white only where you want the change. Fix the selection first, then adjust the color.
🧠 Build the selection before touching the Hue slider. A clean mask = a clean result. Rushing to the sliders before the mask is right creates muddy edges.
Control
The Fuzziness Slider
Fuzziness controls how wide a color range is included around your sampled color. Think of it as the tolerance of the selection.
🎯
Low Fuzziness (0–40)
Only pixels very close in color to the sampled point are selected. Precise, but may miss shadow areas and highlights of the same hue. Good for flat, solid colors.
🌊
High Fuzziness (80–200)
A wider family of related colors is selected. Captures color variation across shadows and highlights — but risks selecting similar colors elsewhere in the image.
⚠️
Watch for Spill
High fuzziness can select colors in the background, skin tones, or other objects that share a similar hue family. Always check the entire preview mask — not just the target area — to catch unwanted selection spill before clicking OK.
⚠️ Start with a moderate Fuzziness (~40–80), then raise it gradually. It's easier to add fuzziness than to fix spill after the fact.
Feature
Localized Color Clusters
The Localized Color Clusters checkbox is one of Replace Color's most useful — and most overlooked — features. It fundamentally changes how the selection is built.
🔲
Unchecked (Default)
Photoshop selects all pixels matching the sampled color anywhere in the image.
Risk: if your target color appears elsewhere — similar sky color, a background object — those areas get selected too.
Best for: images where target color appears only in one area
📍
Checked
Selection is limited to pixels near where you clicked — spatial proximity matters alongside color similarity.
Prevents selecting matching colors in distant parts of the image.
Best for: images where the target color appears in multiple areas
If spill keeps appearing in distant parts of the image even at low fuzziness, check Localized Color Clusters. It contains the selection spatially rather than just by color similarity.
Technique
Making the Replacement — Hue / Saturation / Lightness
Once your mask is clean, the three sliders at the bottom of the dialog do the actual color change.
H
Hue — Shifts the Color Family
Drag left or right to move through the color wheel. A red jacket becomes blue, green, purple, etc. The slider range is −180 to +180. Watch the Result swatch in the lower right of the dialog for a preview of the output color.
S
Saturation — Adjusts Color Intensity
Drag right to make the replacement color more vivid. Drag left to mute or desaturate it. After a large Hue shift the saturation often needs adjustment — the new color may look flat or oversaturated compared to the surrounding image.
L
Lightness — Brightens or Darkens
Use sparingly. Different colors have different inherent luminosity — blue is darker than yellow. A small lightness adjustment after a hue shift can match the tonal feel of the original. Avoid extremes — pushing to +100 or −100 clips to white or black.
💡 Check the Result swatch constantly as you drag sliders — it shows the exact output color. Compare it with your intentions before clicking OK.
Comparison
Replace Color vs. Hue/Sat vs. Selective Color
RC
Replace Color — Fastest for isolated single-color swap
Eyedropper-based selection + H/S/L sliders in one dialog. Best when you have a specific color to swap and a relatively isolated target. Destructive — use on a duplicate. No adjustment layer option.
HS
Hue/Saturation Targeted Range — Good for global color family
Available as an adjustment layer. The on-image eyedropper sets a targeted color range. Works best when the color you want to change appears consistently across the image. Non-destructive and re-editable.
SC
Selective Color — Most precise CMYK control
Targets color channels (Reds, Yellows, Greens, Cyans, Blues, Magentas, Whites, Neutrals, Blacks) with CMYK ink sliders. Maximum precision for press output or subtle color shifts within a color family. Non-destructive adjustment layer.
🧭
Which to Reach For
"Change this specific red jacket to blue — fast" → Replace Color. "Shift all the greens in this image slightly warmer" → Hue/Sat targeted. "Fine-tune the cyan balance within the blue sky without touching the skin tones" → Selective Color.
🧠 Replace Color wins on speed for an isolated swap. Hue/Sat wins for editability. Selective Color wins for precision. Match the tool to the task.
Use Case
Product Photography — Color Variants Fast
Replace Color shines in product photography workflows where you need to show an item in multiple color options without re-shooting.
1
Shoot the Product Once in the Hero Color
Get perfect lighting, angle, and styling for the red version. This is your base file.
2
Duplicate the Layer for Each Color Variant
Ctrl/Cmd+J for each variant — blue, green, black, etc. Keep the original intact. Apply Replace Color to each duplicate separately. Name layers "Red Original", "Blue Variant", etc.
3
Sample the Product Color → Shift Hue to Target
Click on the jacket, bag, or flower. Expand with Shift+click until the whole object is white in the preview. Then drag Hue to the target color. Fine-tune Saturation and Lightness to match the brand spec.
💡
Practical Examples
Red hiking jacket → blue, green, or black variants. Red car in an ad → any brand color on demand. Red rose → purple, orange, or yellow for seasonal campaigns. The workflow is identical for any product with a dominant solid color.
🎨 Replace Color is a product photography power tool. One shoot, many color stories. Saves hours of re-shooting and restyling.
Challenge
Practice — Replace a Dominant Color
1
Open an Image with a Strong Single Color
A red flower, a blue car, a green shirt — anything with a dominant, reasonably isolated color. The more isolated the color, the easier the exercise.
2
Duplicate the Layer — Ctrl/Cmd+J
Never forget this step. Apply Replace Color to the copy, not the original. Label it something clear like "Color Variant 1".
3
Image → Adjustments → Replace Color → Sample the Target Color
Click on the dominant color in the image. Shift+click to add missed areas. Watch the preview mask — aim for solid white on the target, solid black everywhere else.
4
Shift the Hue to a Completely Different Color
Drag Hue far enough that the color family is completely different — from red to blue, green to purple. Then use Fuzziness adjustments to clean up edges. Fine-tune Saturation to match.
💡 Bonus: Try the same exercise with Localized Color Clusters checked vs. unchecked on an image where the target color appears in multiple areas. Note how the mask changes.
Lesson 39 Complete
Six Things to Remember.
🎨
What It Does
Eyedropper-based color selection + H/S/L sliders in one dialog. No selection tool needed.
⚠️
Destructive
Always duplicate the layer first. Ctrl/Cmd+J before you open the dialog.
👁️
Read the Mask
White = changes. Black = protected. Fix the mask before touching sliders.
~
Fuzziness
Start moderate. Raise gradually. Watch for spill into unwanted areas.
📍
Localized Clusters
Check this when spill appears far from your click point. Limits by spatial proximity.
vs. Alternatives
Fastest for isolated swap. Hue/Sat for editability. Selective Color for precision.
Up Next — PS Lesson 40
Adjustment: Equalize
Equalize remaps every tonal value in your image so the darkest pixel becomes black, the brightest becomes white, and everything in between is distributed evenly across the full range — a one-click tonal stretch with surprising creative power.
Start Lesson 40 →
⌂ Index