Portrait Lighting Patterns
Five classic portrait light setups on one face: butterfly, loop, Rembrandt, split and rim.
AI prompt
Rembrandt lighting portrait of [subject], single soft key light from 45 degrees to the left and above, a small triangle of light on the shadowed cheek below the eye, deep shadow side with minimal fill, dark neutral background, warm skin tones, shallow depth of field, 85mm lens, painterly cinematic realism. Pattern set: butterfly lighting (key high and frontal, small shadow under the nose, glamour), loop lighting (key slightly to the side, small loop shadow beside the nose), split lighting (key at 90 degrees, exactly half the face in shadow), rim lighting (light behind the subject, glowing edge on hair and shoulders, face in soft shadow). Negative: flat frontal flash, overexposed forehead, uneven double shadows, plastic skin.About this pattern
Definition
Portrait lighting patterns are named setups defined by where the key light sits relative to the face and what shadow it casts under the nose and on the cheek.
When to use it
- Butterfly (light high and in front): glamour and smooth skin. Loop (slightly to the side): natural and flattering.
- Rembrandt (about 45 degrees, high): a small lit triangle on the shadow cheek, classic drama. Split (90 degrees): half the face in shadow, intense and moody.
- Rim (light behind): a bright edge that separates the subject from the background.
What the controls do
- Five buttons choose the pattern; the note explains where the light sits and what it does.
Motion & timing
- Light and shadow blend over 350ms.
- Reduced motion: the setup changes instantly.
Tips & variations
- Name the pattern rather than only a direction; image models know these terms well.
- Add the fill level (no fill, soft fill) to control how deep the shadow is.
Code of this live preview
<div class="bx"><div class="st"><div class="body"></div><div class="head" id="head"><i class="tri" id="tri"></i></div><div class="rim" id="rim"></div></div>
<div class="pre" id="pre" role="group" aria-label="Lighting pattern"><button data-p="butterfly">Butterfly</button><button data-p="loop">Loop</button><button data-p="rem" aria-pressed="true">Rembrandt</button><button data-p="split">Split</button><button data-p="rim">Rim</button></div><p class="out" id="out" aria-live="polite"></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}
.bx{width:min(300px,100%);display:grid;gap:8px}
.st{position:relative;height:150px;border-radius:12px;overflow:hidden;background:#1d1d20}
.body{position:absolute;left:50%;bottom:-30px;width:130px;height:80px;margin-left:-65px;border-radius:60px 60px 0 0;background:#2b2b30}
.head{position:absolute;left:50%;top:18px;width:84px;height:100px;margin-left:-42px;border-radius:46% 46% 44% 44%;background:var(--bgl);transition:background .35s}
.tri{position:absolute;right:12px;top:48px;width:22px;height:22px;background:#e9c9a6;clip-path:polygon(0 0,100% 0,100% 100%);opacity:var(--tri,0);transition:opacity .35s}
.rim{position:absolute;inset:0;background:radial-gradient(ellipse 60px 80px at 50% 40%,transparent 62%,rgba(255,235,200,var(--rim,0)) 66%,transparent 78%);transition:background .35s}
.pre{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.pre button{height:28px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font:inherit;font-size:10.5px;cursor:pointer;padding:0}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
@media (prefers-reduced-motion:reduce){.head,.tri,.rim{transition:none}}const st=document.querySelector('.st'),head=document.getElementById('head'),out=document.getElementById('out'),bs=[...document.querySelectorAll('#pre button')];
const L={butterfly:{bg:'radial-gradient(ellipse at 50% 18%,#f4d9bd,#d3a984 55%,#7b573d)',tri:0,rim:0,t:'Key high and in front; small shadow under the nose. Glamour, smooth skin.'},
loop:{bg:'radial-gradient(ellipse at 36% 28%,#f1d3b3,#cfa17a 52%,#6a4932)',tri:0,rim:0,t:'Key slightly to the side; a small loop shadow beside the nose. Natural.'},
rem:{bg:'linear-gradient(100deg,#f0cfae 0%,#d4a67e 42%,#2d221c 56%,#2a201a 100%)',tri:1,rim:0,t:'Key about 45 degrees and high; a lit triangle on the shadow cheek. Classic drama.'},
split:{bg:'linear-gradient(90deg,#f1d1ae 0%,#cfa07a 49%,#17120f 51%,#17120f 100%)',tri:0,rim:0,t:'Key at 90 degrees; exactly half the face in shadow. Intense and moody.'},
rim:{bg:'radial-gradient(ellipse at 50% 60%,#4a3a30,#2a211b 70%)',tri:0,rim:.9,t:'Light behind the subject; glowing edge, face in soft shadow. Separation.'}};
const N={butterfly:'Butterfly',loop:'Loop',rem:'Rembrandt',split:'Split',rim:'Rim'};
function show(k){const l=L[k];head.style.setProperty('--bgl',l.bg);st.style.setProperty('--tri',l.tri);st.style.setProperty('--rim',l.rim);head.querySelector('.tri').style.setProperty('opacity',l.tri);
out.innerHTML='<b>'+N[k]+'</b>: '+l.t;bs.forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.p===k)));}
bs.forEach(b=>b.addEventListener('click',()=>show(b.dataset.p)));show('rem');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>Portrait Lighting Patterns — 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}}
.bx{width:min(300px,100%);display:grid;gap:8px}
.st{position:relative;height:150px;border-radius:12px;overflow:hidden;background:#1d1d20}
.body{position:absolute;left:50%;bottom:-30px;width:130px;height:80px;margin-left:-65px;border-radius:60px 60px 0 0;background:#2b2b30}
.head{position:absolute;left:50%;top:18px;width:84px;height:100px;margin-left:-42px;border-radius:46% 46% 44% 44%;background:var(--bgl);transition:background .35s}
.tri{position:absolute;right:12px;top:48px;width:22px;height:22px;background:#e9c9a6;clip-path:polygon(0 0,100% 0,100% 100%);opacity:var(--tri,0);transition:opacity .35s}
.rim{position:absolute;inset:0;background:radial-gradient(ellipse 60px 80px at 50% 40%,transparent 62%,rgba(255,235,200,var(--rim,0)) 66%,transparent 78%);transition:background .35s}
.pre{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.pre button{height:28px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font:inherit;font-size:10.5px;cursor:pointer;padding:0}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
@media (prefers-reduced-motion:reduce){.head,.tri,.rim{transition:none}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="st"><div class="body"></div><div class="head" id="head"><i class="tri" id="tri"></i></div><div class="rim" id="rim"></div></div>
<div class="pre" id="pre" role="group" aria-label="Lighting pattern"><button data-p="butterfly">Butterfly</button><button data-p="loop">Loop</button><button data-p="rem" aria-pressed="true">Rembrandt</button><button data-p="split">Split</button><button data-p="rim">Rim</button></div><p class="out" id="out" aria-live="polite"></p></div>
</div>
<script>
const st=document.querySelector('.st'),head=document.getElementById('head'),out=document.getElementById('out'),bs=[...document.querySelectorAll('#pre button')];
const L={butterfly:{bg:'radial-gradient(ellipse at 50% 18%,#f4d9bd,#d3a984 55%,#7b573d)',tri:0,rim:0,t:'Key high and in front; small shadow under the nose. Glamour, smooth skin.'},
loop:{bg:'radial-gradient(ellipse at 36% 28%,#f1d3b3,#cfa17a 52%,#6a4932)',tri:0,rim:0,t:'Key slightly to the side; a small loop shadow beside the nose. Natural.'},
rem:{bg:'linear-gradient(100deg,#f0cfae 0%,#d4a67e 42%,#2d221c 56%,#2a201a 100%)',tri:1,rim:0,t:'Key about 45 degrees and high; a lit triangle on the shadow cheek. Classic drama.'},
split:{bg:'linear-gradient(90deg,#f1d1ae 0%,#cfa07a 49%,#17120f 51%,#17120f 100%)',tri:0,rim:0,t:'Key at 90 degrees; exactly half the face in shadow. Intense and moody.'},
rim:{bg:'radial-gradient(ellipse at 50% 60%,#4a3a30,#2a211b 70%)',tri:0,rim:.9,t:'Light behind the subject; glowing edge, face in soft shadow. Separation.'}};
const N={butterfly:'Butterfly',loop:'Loop',rem:'Rembrandt',split:'Split',rim:'Rim'};
function show(k){const l=L[k];head.style.setProperty('--bgl',l.bg);st.style.setProperty('--tri',l.tri);st.style.setProperty('--rim',l.rim);head.querySelector('.tri').style.setProperty('opacity',l.tri);
out.innerHTML='<b>'+N[k]+'</b>: '+l.t;bs.forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.p===k)));}
bs.forEach(b=>b.addEventListener('click',()=>show(b.dataset.p)));show('rem');
</script>
</body></html>