Screen lightens a backdrop by combining each source and backdrop channel with the complement of their product. The result is never darker than either input: white produces white, while black leaves the other color unchanged. section 7.6.4 section 7.8
Apply screen where a layered effect needs a brighter, unified appearance:
- Use mix-blend-mode: screen when an element should blend with its parent background or overlapping content. section 7.6.3
- Use background-blend-mode: screen when blending background layers inside one element. section 7.6.3
- Combine screen with multiply to create a darker base followed by lighter highlights or a light color wash. section 7.6.3 section 7.6.4
Layered background
A container can blend a flamingo image with an orange color using multiply, then blend a texture above the result using screen: background-color: hsl(239 100% 50%); background-image: url("pink-flamingo.png"), url("texture.png"); background-blend-mode: screen, multiply. The calculated layering creates a nuanced composite with lighter highlights. section 7.6.3
Table 7.1 The separable blend modes
| Blend mode |
B(Cb, Cs) |
Description |
|---|---|---|
|
|
|
The “no-blend” mode that leaves the source color as is. The result is just the source color replacing the backdrop in the overlap area. |
|
|
|
Multiplies the source and backdrop channel values. Multiplying by black (0) yields black; multiplying by white (1) leaves the color unchanged. For every other value, the result is always darker than the original colors because multiplying any two values a and b in the range (0, 1) always returns a value smaller than both a and b, and with RGB colors, smaller values represent darker colors. |
|
|
|
“Lights” the backdrop by blending as if projecting slides on a screen, making this blend mode essentially the opposite of multiply. Screening by white (1) produces white; screening by black (0) leaves the color unchanged. For every other value, the result is always lighter than the original colors. |
|
|
|
The backdrop color is replaced with the source color wherever the source is darker; otherwise, the backdrop is left unchanged. |
|
|
|
The backdrop color is replaced with the source color wherever the source is lighter; otherwise, the backdrop is left unchanged. |
|
|
|
Brightens the backdrop to the source color by decreasing contrast in darker areas. Returns 0 if the backdrop color is 0; returns 1 if the source color is 1. |
|
|
|
Darkens the backdrop to the source color by increasing contrast in dark areas. Returns 1 if the backdrop color is 1; returns 0 if the source color is 0. |
|
|
|
Applies a multiply or screen blend depending on the source color. |
|
|
|
A more complex, gentler version of hard-light. It also |
|
|
|
This is the inverse of the hard-light blend mode. |
|
|
|
The absolute value of the difference of the channel values, which creates high-contrast results since identical pixels become black (no difference) and very different pixels produce bright colors. |
|
|
|
Creates a lower contrast version of the difference mode. |
Inspect the separable blend-mode table for the screen equation and its comparison with multiply. section 7.6.4
