Blend Mode Overlays
One colour layer over a landscape in six blend modes, to see how multiply, screen, overlay and soft light differ.
AI prompt
Landscape photograph graded with a teal colour layer in soft light blending mode: mountains, a calm lake and a pale sky, shadows pushed toward deep teal, highlights staying warm and clean, contrast slightly increased, natural skin-free scene, fine detail kept, muted cinematic palette. Variants: the same photo with the layer set to multiply for a darker moody tint, and to screen for a hazy lifted glow. Negative: flat opaque colour cover, banding, oversaturation, text, watermark. Reduced motion: static image.About this pattern
Definition
A blend mode decides how a layer's colour combines with what is beneath it. Multiply darkens, screen lightens, overlay and soft light boost contrast while tinting, and colour replaces hue while keeping the brightness of the picture below.
When to use it
- Normal: the layer simply covers the picture.
- Multiply: like stacking filters; always darker, good for shadows and tints.
- Screen: like projecting light; always lighter, good for glow.
- Overlay and soft light: add contrast while tinting; soft light is gentler.
- Color: applies the hue and saturation of the layer to the picture's lightness.
What the controls do
- Six blend mode buttons and three colour swatches.
Motion & timing
- The picture changes instantly.
- Reduced motion: nothing animates.
Tips & variations
- Put the blended layers in an isolated stacking context so they do not leak onto the page behind.
- Fall back to a plain translucent layer if a mode is unsupported.
Code of this live preview
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Blend mode"><button data-p="0" aria-pressed="true">Normal</button><button data-p="1" aria-pressed="false">Multiply</button><button data-p="2" aria-pressed="false">Screen</button><button data-p="3" aria-pressed="false">Overlay</button><button data-p="4" aria-pressed="false">Soft light</button><button data-p="5" aria-pressed="false">Color</button></div><div class="im" id="im"><i class="sk"></i><i class="mt"></i><i class="lk"></i><b class="ov" id="ov"></b></div><div class="pre" id="cl" role="group" aria-label="Layer colour"><button data-c="#1fb5ad" aria-pressed="true">Teal</button><button data-c="#ff8a3d" aria-pressed="false">Orange</button><button data-c="#8a5cff" aria-pressed="false">Violet</button></div><p class="out" id="out"></p></div>:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}ul,ol,p,h4{margin:0;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.im{height:110px;border-radius:12px;position:relative;overflow:hidden;isolation:isolate}.im i{position:absolute;display:block}.sk{inset:0 0 40% 0;background:linear-gradient(#b8d3ee,#f6e6d0)}.mt{left:-4%;right:-4%;bottom:26%;height:42%;background:#58636f;clip-path:polygon(0 100%,0 62%,24% 18%,44% 58%,68% 8%,100% 62%,100% 100%)}.lk{left:0;right:0;bottom:0;height:30%;background:linear-gradient(#6a8fb0,#38566f)}.ov{position:absolute;inset:0;background:var(--c);mix-blend-mode:var(--m);opacity:.85}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}const M=['normal','multiply','screen','overlay','soft-light','color'],T=['Normal: the layer covers the picture.','Multiply: always darker, like stacked filters.','Screen: always lighter, like projected light.','Overlay: stronger contrast while tinting.','Soft light: a gentler contrast and tint.','Color: layer hue on the picture\u2019s lightness.'],im=document.getElementById('im'),bs=[...document.querySelectorAll('#pre button')],cs=[...document.querySelectorAll('#cl button')];let p=1;
function up(){im.style.setProperty('--m',M[p]);document.getElementById('out').textContent=T[p];bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}
bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));cs.forEach(b=>b.addEventListener('click',()=>{im.style.setProperty('--c',b.dataset.c);cs.forEach(k=>k.setAttribute('aria-pressed',String(k===b)));}));im.style.setProperty('--c','#1fb5ad');up();One complete HTML file. Save it and open it in a browser.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Blend Mode Overlays — demo</title>
<style>
:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
html,body{height:100%}body{background:var(--bg);color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.stage{min-height:100%;display:grid;place-items:center;padding:24px}button,input,select,textarea{font-family:inherit}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}ul,ol,p,h4{margin:0;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.im{height:110px;border-radius:12px;position:relative;overflow:hidden;isolation:isolate}.im i{position:absolute;display:block}.sk{inset:0 0 40% 0;background:linear-gradient(#b8d3ee,#f6e6d0)}.mt{left:-4%;right:-4%;bottom:26%;height:42%;background:#58636f;clip-path:polygon(0 100%,0 62%,24% 18%,44% 58%,68% 8%,100% 62%,100% 100%)}.lk{left:0;right:0;bottom:0;height:30%;background:linear-gradient(#6a8fb0,#38566f)}.ov{position:absolute;inset:0;background:var(--c);mix-blend-mode:var(--m);opacity:.85}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Blend mode"><button data-p="0" aria-pressed="true">Normal</button><button data-p="1" aria-pressed="false">Multiply</button><button data-p="2" aria-pressed="false">Screen</button><button data-p="3" aria-pressed="false">Overlay</button><button data-p="4" aria-pressed="false">Soft light</button><button data-p="5" aria-pressed="false">Color</button></div><div class="im" id="im"><i class="sk"></i><i class="mt"></i><i class="lk"></i><b class="ov" id="ov"></b></div><div class="pre" id="cl" role="group" aria-label="Layer colour"><button data-c="#1fb5ad" aria-pressed="true">Teal</button><button data-c="#ff8a3d" aria-pressed="false">Orange</button><button data-c="#8a5cff" aria-pressed="false">Violet</button></div><p class="out" id="out"></p></div>
</div>
<script>
const M=['normal','multiply','screen','overlay','soft-light','color'],T=['Normal: the layer covers the picture.','Multiply: always darker, like stacked filters.','Screen: always lighter, like projected light.','Overlay: stronger contrast while tinting.','Soft light: a gentler contrast and tint.','Color: layer hue on the picture\u2019s lightness.'],im=document.getElementById('im'),bs=[...document.querySelectorAll('#pre button')],cs=[...document.querySelectorAll('#cl button')];let p=1;
function up(){im.style.setProperty('--m',M[p]);document.getElementById('out').textContent=T[p];bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}
bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));cs.forEach(b=>b.addEventListener('click',()=>{im.style.setProperty('--c',b.dataset.c);cs.forEach(k=>k.setAttribute('aria-pressed',String(k===b)));}));im.style.setProperty('--c','#1fb5ad');up();
</script>
</body></html>