Sub topic 11
Opacity, Fill, and blend modes at a glance
This chapter assumes you can open a document, find the Layers panel, select a layer, and tell pixel layers from vector shape layers. It covers the three controls that change how one layer combines with the layers below it: Opacity, Fill, and the blend mode. Group blend modes and Pass Through come in a later chapter.
What these controls do
The Layers panel composites from the bottom up. By default, each layer replaces the pixels beneath it wherever it has content. Opacity, Fill, and blend mode change that rule for one layer without editing its pixels.
- Opacity sets how much of the layer shows overall, from 0% to 100%. At 50%, the layer and what is beneath it contribute equally.
- Fill also sets how much of the layer shows, but it ignores layer styles such as drop shadows, strokes, and glows.
- Blend mode sets the math used to combine the layer's pixel values with the pixel values below.
All three are non-destructive. You can return to 100% and Normal at any time.
Opacity
The Opacity field sits at the top right of the Layers panel. Select a layer, then type a value or drag the slider that opens from the small arrow beside the field.
Opacity affects everything on the layer: pixels, layer styles, and any layer mask result. A layer at 0% is invisible but still exists, so it is different from deleting it.
Useful shortcuts, with a non-painting tool such as the Move tool active:
- Press a number key to set Opacity in steps of 10%. Press 5 for 50% and 0 for 100%.
- Type two numbers quickly, such as 3 then 5, for 35%.
If a painting tool such as Brush is active, the number keys change the tool's opacity, not the layer's. This is a common source of confusion. Check which tool is active before pressing a number.
Fill
Fill looks like Opacity, and with no layer styles on the layer the two give the same result. The difference shows when a layer has styles.
Suppose a text layer has a 3 px black stroke and a drop shadow. Lowering Opacity fades the text, the stroke, and the shadow together. Lowering Fill to 0% hides the text pixels but leaves the stroke and shadow at full strength. That produces an outline-only or shadow-only effect without extra layers.
| Setting | Fades layer pixels | Fades layer styles |
|---|---|---|
| Opacity | Yes | Yes |
| Fill | Yes | No |
Fill and Opacity multiply. A layer at 50% Opacity and 50% Fill shows its pixels at 25%, while its styles show at 50%.
Fill also interacts with a few blend modes. Linear Dodge (Add), Linear Burn, Vivid Light, Linear Light, and Hard Mix respond to Fill differently from Opacity, so the same percentage can give a different look. Test both controls when you use these modes.
Blend modes
The blend mode menu sits at the top left of the Layers panel and starts as Normal. Each mode compares the layer's pixel values (the blend color) with the values below (the base color) and produces a result color.
Photoshop groups the modes in the menu, separated by lines:
| Group | Modes | General effect |
|---|---|---|
| Normal | Normal, Dissolve | Layer covers the base; Dissolve scatters pixels at partial opacity |
| Darken | Darken, Multiply, Color Burn, Linear Burn, Darker Color | Result is the same or darker |
| Lighten | Lighten, Screen, Color Dodge, Linear Dodge (Add), Lighter Color | Result is the same or lighter |
| Contrast | Overlay, Soft Light, Hard Light, Vivid Light, Linear Light, Pin Light, Hard Mix | Lightens and darkens, raising contrast |
| Comparative | Difference, Exclusion, Subtract, Divide | Result depends on the difference between layers |
| Component | Hue, Saturation, Color, Luminosity | Applies one aspect of the layer's color |
The modes you will use most
- Multiply multiplies the base and blend values. White has no effect, and anything darker darkens the result. Use it for shadows, or to place a scan of line art over color.
- Screen is the inverse of Multiply. Black has no effect, and anything lighter lightens the result. Use it for glows, light leaks, and smoke or fire photos on a black background.
- Overlay multiplies the dark areas and screens the light areas of the base, so mid-tones gain contrast. Use it for dodge-and-burn layers filled with 50% gray.
- Soft Light is a gentler Overlay. It suits subtle contrast and texture.
- Color applies the layer's hue and saturation while keeping the base's brightness. Use it to tint or recolor without changing the lighting.
- Luminosity does the reverse: it applies the layer's brightness and keeps the base's color.
Working with blend modes
Because the math depends on the layers below, a blend mode only does something when there is something to blend with. On the Background layer or an empty stack, the mode has no visible effect. Likewise, a layer set to Multiply with a white fill appears to vanish, because white is the neutral color for Multiply.
Neutral colors are worth remembering:
| Mode | Neutral color (no effect) |
|---|---|
| Multiply, Color Burn, Darken | White |
| Screen, Color Dodge, Lighten | Black |
| Overlay, Soft Light, Hard Light | 50% gray |
Photoshop can also cycle through modes for you. With the Move tool active, press Shift and the plus key to step to the next mode, or Shift and the minus key to step back. Each step shows the effect on the canvas, which is a fast way to audition modes.
You cannot set a blend mode on the Background layer, because it has nothing beneath it. Convert it to a regular layer first, which is covered in the Background layer chapter.
Doing the same thing in a script
The Layers panel controls map directly to layer properties in ExtendScript. Opacity is set on a 0 to 100 scale, and the blend mode comes from the BlendMode enumeration.
// ExtendScript (.jsx): change how the active layer composites
var layer = app.activeDocument.activeLayer;
layer.opacity = 60;
layer.blendMode = BlendMode.MULTIPLY;This sets the same values you would choose in the panel: 60% Opacity and Multiply. Scripts are useful when you apply the same look to many layers. The script above does not change Fill. Fill has no property in the standard layer object, so scripts that need it must use Action Manager code, which is outside this tutorial.
Common errors
- Number keys change the wrong setting. If a painting tool is active, the keys change brush opacity. Switch to the Move tool first.
- A blend mode seems broken. Check that the layer is not the Background layer, that something visible lies below it, and that the layer's color is not the mode's neutral color.
- A layer style will not fade. Opacity fades styles and Fill does not. Use the one that matches your goal.
- Opacity and Fill are both reduced. The values multiply, so a layer that looks too faint may have both below 100%. Check both fields.
- The mode changes when you add it to a group. A group has its own blend mode, and the default for groups, Pass Through, behaves differently from Normal. A later chapter covers this.
Exercise
A text layer has a white fill, a 4 px red stroke, and a drop shadow. You want only the red stroke and the shadow visible, with the white letters gone. Which control do you use, to what value, and why would Opacity not work?
Show answer
Set Fill to 0%. Fill fades the layer's pixels (the white letters) but leaves layer styles such as the stroke and drop shadow at full strength. Opacity at 0% would hide the styles too, so nothing would remain visible.
Exercise
You add a layer filled with 50% gray above a photo and set it to Overlay. What do you expect to see, and why? Then name the blend mode that would give the same result for a layer filled with white.
Show answer
The photo looks unchanged, because 50% gray is the neutral color for Overlay. A layer filled with white is neutral for Multiply (and Darken or Color Burn), so any of those would leave the photo unchanged.