Sub topic 11
Building gradients with colour stops and midpoints
This chapter covers the Gradient Editor, the dialog that defines what a Gradient Map does. It assumes you can create an adjustment layer and read a histogram. You should also know that a Gradient Map assigns colours by brightness: the darkest pixels take the colour at the left end of the gradient, and the brightest take the colour at the right end. Here you will build gradients on purpose instead of using presets.
What the editor controls
Open a Gradient Map adjustment layer and click the gradient bar in the Properties panel. The Gradient Editor opens. Three parts matter for grading:
- The gradient bar. The horizontal strip shows the result. Position on the bar equals brightness: 0% is black, 100% is white.
- Colour stops. These are the small squares under the bar. Each one fixes a colour at one location.
- Opacity stops. These are the squares above the bar. They control transparency along the gradient. For a normal grade you leave both at 100%.
Between two colour stops, Photoshop blends the colours smoothly. Between each pair there is also a midpoint, a small diamond above the bar. The midpoint sets where the blend between the two neighbouring colours is halfway done. It starts at 50% of the distance between the stops.
Make sure the Gradient Type is Solid and Smoothness is 100%. Noise gradients produce random colours and are not suited to grading.
Colour stops
Click a stop to select it. The Stops section below the bar then shows its Colour and Location.
To change a stop's colour:
- Select the stop.
- Click the Colour swatch, or double-click the stop.
- Pick a colour in the Colour Picker and confirm.
To add a stop, click just below the bar where you want one. The new stop starts with the colour already at that spot, so the gradient does not change until you recolour it. To remove a stop, drag it down off the bar, or select it and click Delete. You can type an exact position in the Location field. This is useful when you want symmetric or repeatable placement, such as stops at 25% and 75%.
A stop at 0% and a stop at 100% always exist. Colour outside the outermost stops is flat. If your first stop is at 10%, every pixel darker than 10% takes that stop's colour.
Midpoints
The midpoint diamond moves the centre of a blend. Dragging it toward the left stop makes the right colour take over earlier. Dragging it toward the right stop does the opposite. The stops stay where they are.
This matters in practice. Suppose a two-colour gradient runs from deep blue to warm orange. With the midpoint at 50%, the grey midtones of the image turn a muddy blend of both. Moving the midpoint to 70% pushes the blue further into the midtones, so only the brighter areas turn orange. The grade then reads as "cool shadows, warm highlights" instead of one flat tint.
| Adjustment | Effect on the image |
|---|---|
| Move a stop to the right | The colour governs a larger share of the darker tones |
| Move a stop to the left | The colour governs a larger share of the brighter tones |
| Move a midpoint toward the left stop | The right-hand colour spreads into darker tones |
| Move a midpoint toward the right stop | The left-hand colour spreads into brighter tones |
| Add a stop between two others | Adds an extra colour band, such as a midtone accent |
A worked example: teal shadows, warm highlights
This three-stop gradient is a common grading look. The values are starting points, not rules.
- Create a Gradient Map adjustment layer above your image and open the Gradient Editor.
- Select the left stop (Location 0%). Set its colour to a dark teal, for example
#0b2a33. Avoid pure black here, because a lifted shadow colour also fades the blacks. - Select the right stop (Location 100%). Set it to a warm cream, for example
#f6e3c4. Avoid pure white so the highlights keep some warmth. - Click under the bar at about 50% to add a middle stop. Set it to a neutral mid grey such as
#8a8a8a, so the midtones stay close to their original colour. - Confirm the dialog, then set the layer's blend mode to Color and the opacity to about 30%.
The blend mode and opacity step is covered in the next chapter, but it is needed here. At Normal and 100% opacity, the layer replaces your photo with a duotone-like image. The Color blend mode keeps the photo's own brightness. The opacity slider then sets how strongly the colours show.
The diagram below shows how a pixel's brightness selects its colour.
Reading the bar against your histogram
A stop only affects the pixels that sit near its location. If the image has no pixels above 80% brightness, a stop at 100% does nothing visible. Check the histogram first (see the chapter on tonal range). Then place stops where the data is.
- If the histogram is bunched in the shadows, move the colour you want in the midtones further left.
- If the image is high-key, with most data on the right, put your interesting stop at 70–85%.
- If the image has a wide range, evenly spaced stops are fine.
You can also set the gradient map after a Curves layer that has already spread the tonal range. The order matters, because a gradient map reads the brightness of the pixels beneath it. Layers above the map do not change what it reads.
Common problems
The image looks like a flat two-tone poster. The layer is at Normal blend and 100% opacity. Change the blend mode or lower the opacity. A gradient map that is meant to replace colour entirely should be a deliberate choice.
The photo looks inverted. The gradient runs from light to dark. Click the Reverse option in the Properties panel, or swap the two end colours.
Banding appears in smooth areas such as sky. A gradient with very different end colours stretches too few distinct values across a wide area. Enable Dither in the Properties panel. Also keep the colours of neighbouring stops reasonably close, and work in 16-bit mode where you can.
Midtones turn muddy. Two saturated end colours blend through a dull middle. Add a middle stop with a deliberate colour instead of letting Photoshop invent one.
The saturation is too strong. Reduce the layer opacity, or pull the stop colours toward grey. Lowering Saturation in the Colour Picker for each stop is more controllable than lowering opacity if only one colour is too intense.
Planning stop placement
A reliable method is to decide the role of each stop before you place it:
- Choose the shadow colour. It sets the mood of the darkest areas.
- Choose the highlight colour. It sets the temperature of the lights.
- Add a midtone stop only if the middle looks wrong. Neutral or close to skin tone works well.
- Adjust the midpoints last, to move the transitions to where the picture needs them.
Keep the number of stops low. Two or three do most grading work. Gradients with many stops start to behave like posterisation, because small brightness differences produce large colour jumps.
Exercise
A gradient has a teal stop at 0% and an orange stop at 100%, and the midpoint sits at 50%. The photo's midtones look too orange. Which change shifts the midtones toward teal without editing either colour, and why?
Show answer
Drag the midpoint diamond toward the right-hand (orange) stop, for example to 70%. The midpoint sets where the blend is halfway, so moving it right keeps the teal colour dominant for longer. Midtone pixels, which sit around 50% brightness, then fall on the teal side of the blend.
Exercise
You add a stop at 90% on a gradient map, but nothing changes in your image. The histogram shows no data to the right of 70%. What is the cause, and what are two ways to fix it?
Show answer
No pixels are bright enough to land near the 90% stop, so its colour is never used. You can move the stop to about 60–70% where the image has data, or first raise the highlights with a Curves layer placed below the gradient map so that more pixels reach the brighter part of the bar.