Sub topic 6
Hue/Saturation: global color changes
This chapter assumes you can create an adjustment layer from the Layers panel and edit it in the Properties panel. It also assumes you have read the chapters on Levels and Curves, so you know that an adjustment layer stores a remapping of values and leaves the pixels untouched. Here you will learn what the three Hue/Saturation sliders do to pixel values, where each one goes wrong, and how to apply them to the whole image.
What Hue/Saturation changes
Levels and Curves work mostly on brightness. Hue/Saturation works on color. It treats each pixel as three separate quantities:
- Hue is the position of the color on the color wheel, measured in degrees from -180 to +180. A red pixel shifted by +120 becomes green. A red pixel shifted by -120 becomes blue.
- Saturation is the intensity or purity of the color. At -100 the color is gone and only gray remains. At +100 the color is pushed as far as the adjustment allows.
- Lightness moves the pixel toward black (-100) or white (+100).
The Hue/Saturation dialog is based on the HSL color model (hue, saturation, lightness). Photoshop converts each pixel from RGB to this model, applies your slider values, and converts back to RGB for display. The stored pixels are not changed, because the settings live on the adjustment layer.
Creating the adjustment
- Open the Adjustments panel and click the Hue/Saturation icon, or choose Layer > New Adjustment Layer > Hue/Saturation.
- Check that the Properties panel shows the Master range in the drop-down at the top. Master means every color in the image is affected. Targeting a single color range is covered in the next chapter.
- Move the sliders and watch the image. Double-click a slider's name or value field to type a number.
- To return a slider to zero, double-click its handle.
A new Hue/Saturation layer sits above the active layer and applies to everything below it in the stack, unless you limit it with a mask or clipping.
The Hue slider
The Hue slider rotates every color around the wheel by the same angle. The color bars at the bottom of the panel show this. The top bar is the original spectrum, and the bottom bar shows where each original color lands after the shift.
The relationships to remember are:
| Shift | Red becomes | Green becomes | Blue becomes |
|---|---|---|---|
| +60 | Yellow | Cyan | Magenta |
| +120 | Green | Blue | Red |
| +180 | Cyan | Magenta | Yellow |
| -120 | Blue | Red | Green |
A global hue shift is rarely a finished edit, because it moves skin, sky, and foliage together. It is useful for three jobs:
- Recoloring a flat graphic or a single-color object, usually after you have isolated it with a mask.
- Making a small correction, for example a shift of +5 to -5 to remove a slight yellow-green tint from foliage.
- Creating deliberate stylized looks, such as a teal-and-orange shift or an "infrared" foliage effect.
Neutral grays have no hue, so they do not change. A pure gray wall stays gray at any hue setting, which is a quick check that the hue slider is not the cause of a gray tint.
The Saturation slider
Saturation scales how far each color sits from gray. Negative values pull colors toward gray in proportion. At -100 the image becomes a grayscale picture. Positive values push colors outward.
The slider is not symmetrical in effect. Colors that are already vivid reach the maximum saturation sooner than muted colors. Boosting saturation by +40 can make a bright red flower hit the limit and lose its internal detail, while a dull brown wall barely changes. You will see this as flat, posterized patches of color with no texture.
Two practical points follow:
- Use small positive values, usually +5 to +25, for global boosts. Larger values tend to look artificial, and skin tones go orange first.
- Use negative values freely. Desaturating by -10 to -30 is a reliable way to tame an over-colored image and often looks more natural than a boost.
Photoshop also has a Vibrance adjustment that boosts muted colors more than vivid ones and protects skin tones. If you need a gentle global lift, Vibrance is often safer than the Saturation slider. Hue/Saturation is the tool when you want predictable, uniform control.
The Lightness slider and why to avoid it
The Lightness slider blends every pixel toward white or black. At +100 the whole image becomes white, and at -100 it becomes black. Unlike Levels or Curves, it does not preserve contrast, so a positive lightness shift gives a washed-out, hazy look and a negative shift gives a muddy one.
Treat Lightness as a special-purpose control. It is useful when a mask limits the adjustment to a small object, for example darkening a single color after targeting it. For global brightness, use Levels (midtone slider) or Curves instead. Those tools let you control which tones move, and Lightness does not.
Seeing what the sliders do with code
The following Python function models the Saturation slider using the standard-library colorsys module. It converts an RGB pixel to hue, lightness, and saturation (HLS), applies a hue shift in degrees and a saturation scale, and converts back. Photoshop's internal math is more elaborate, so this is a teaching model and not an exact copy.
import colorsys
def hue_sat(rgb, hue_shift=0, saturation=0):
"""Apply a simplified Hue/Saturation adjustment to one (r, g, b) pixel, 0-255.
hue_shift: degrees, -180 to 180
saturation: -100 to 100 (percent)
"""
r, g, b = (c / 255 for c in rgb)
h, l, s = colorsys.rgb_to_hls(r, g, b)
h = ((h * 360 + hue_shift) % 360) / 360 # rotate around the wheel
if saturation >= 0:
s = s + (1 - s) * (saturation / 100) # move toward full saturation
else:
s = s * (1 + saturation / 100) # move toward gray
r, g, b = colorsys.hls_to_rgb(h, l, s)
return tuple(round(c * 255) for c in (r, g, b))
print(hue_sat((200, 50, 50), hue_shift=120)) # red becomes green: (50, 200, 50)
print(hue_sat((200, 50, 50), saturation=-100)) # fully desaturated: (125, 125, 125)
print(hue_sat((128, 128, 128), hue_shift=90)) # gray has no hue: (128, 128, 128)Running it shows the three behaviors from this chapter. A hue shift of +120 turns red into green. A saturation of -100 gives a gray with the same lightness as the original. A neutral gray does not change at all.
Common problems and how to fix them
Clipped colors and lost detail
When you push saturation, one color channel can reach 255 (or 0) while the others keep changing. The result is a flat patch with no texture. To check, hold Alt (Windows) or Option (macOS) while moving the slider, or zoom to 100% and look at the most saturated area. If texture has vanished, reduce the value, or limit the boost with a mask.
Photoshop also has a color-gamut warning (View > Gamut Warning) that marks colors outside your output space, such as a CMYK profile. Saturated blues and greens are the usual offenders for print.
Skin tones shifting
Global changes affect skin as much as anything else. A saturation boost makes skin orange or red, and a hue shift makes it green or magenta. If people are in the picture, either keep global changes small or mask the skin out of the adjustment. The next chapter shows how to target a color range, which is the cleaner solution.
Color changes that depend on the layer below
A Hue/Saturation layer affects every layer under it in the stack. If you wanted to recolor only one layer, a stray adjustment can recolor the background too. Check the stack order, or clip the adjustment to the layer it should change.
Grayscale conversion
Setting Saturation to -100 is a quick desaturation, but it does not give good black-and-white results because it ignores how bright each color looks to the eye. A saturated red and a saturated blue can end up the same gray. A Black & White adjustment layer lets you control the brightness of each color, and is better for monochrome work.
Colorize
The Colorize checkbox in the Properties panel changes the model. Instead of shifting existing hues, it turns the image into a single-hue picture: every pixel takes the hue you set, and saturation starts at a fixed value rather than from the original color. Use it for sepia and duotone-style tints.
- Tick Colorize.
- Set Hue to about 35 to 40 for a warm sepia, or to another value for a different tint.
- Set Saturation low, around 15 to 30, because the default is strong.
- Adjust Lightness only if the tint is too dark or too bright.
Because it is still an adjustment layer, you can untick Colorize or delete the layer at any time.
Using the on-image tool
At the top left of the Hue/Saturation controls is a small hand-and-arrows icon, the targeted adjustment tool. In Master mode it has no extra effect, because every color is already selected. It is more useful once you choose a color range, which you will do in the next chapter.
Checklist for global color changes
- Create the adjustment as a layer, not through Image > Adjustments, so you can edit it later.
- Start with small values and compare against the original by toggling the layer's eye icon.
- Prefer negative saturation changes over large positive ones.
- Avoid the Lightness slider for global brightness.
- Check bright, saturated areas at 100% zoom for lost texture.
- If only some colors need to change, stop using Master and target a range or add a mask.
Exercise
A photo has a green tint in the shadows, and a colleague suggests fixing it with Hue/Saturation set to Master with a hue shift of +20. Explain why this is a poor fix, and name a better tool from this tutorial.
Show answer
A Master hue shift rotates every color in the image by the same angle, so skin, sky, and foliage all move along with the tint, and neutral grays are not affected at all, so a gray with a green cast remains tinted in relative terms. A color cast is a tonal-channel problem, so it is better corrected with per-channel Levels or Curves, which move the red, green, and blue channels independently and can be limited to the shadows.
Exercise
Using the hue_sat function above, what call turns the pixel (50, 50, 200) from blue to red, and why does the same call leave (90, 90, 90) unchanged?
Show answer
Calling huesat((50, 50, 200), hueshift=120) rotates blue by +120 degrees to red, giving (200, 50, 50). The pixel (90, 90, 90) has equal red, green, and blue values, so its saturation is zero and it has no meaningful hue to rotate, so it stays (90, 90, 90).