Open Duotone Generator in your browser to create high-impact duotone and tritone photo effects in perceptual OKLCH space and export lossless PNG, WebP, or lightweight SVG feComponentTransfer filter code. Everything runs locally on your device with instant sync across the shared Active Palette bar.
Choose Shadow, Midtone, and Highlight swatches
Upload a portrait, architectural shot, or editorial photo and select Duotone (Shadow + Highlight) or Tritone (adding an independent Midtone stop).
Pull colors directly from your Active Palette or click the quick preset pairs to audition editorial poster combinations.
High-impact recipe: Pair a very dark jewel shadow (L < 22%) with a bright warm cream or pastel highlight (L > 90%) so facial features stay crisp.
Adjust Contrast and Midtone balance
Use the Contrast slider to deepen shadow punch for bold hero banners or soften dynamic range for subtle background textures behind typography.
In Tritone mode, place a rich brand accent in the middle stop so skin and midtones glow without tinting pure white highlights.
Classic Duotone
Clean graphic contrast ideal for speaker headshots, event posters, and playlist covers.
Rich Tritone
Adds a vibrant chromatic midtone between dark ink shadows and crisp light paper highlights.
Live CSS/SVG Filter Code
Applies your exact lookup table to any HTML <img> via filter: url(#duotone) with zero duplicate assets.
Export raster artwork or copy the SVG filter snippet
Download a high-resolution PNG or WebP, or click Copy SVG Filter to tint dynamic CMS avatars and thumbnails in pure CSS.
<svg width="0" height="0" aria-hidden="true">
<filter id="brand-duotone" color-interpolation-filters="sRGB">
<feColorMatrix type="saturate" values="0"/>
<feComponentTransfer>
<feFuncR type="table" tableValues="0.09 0.78 1.00"/>
<feFuncG type="table" tableValues="0.04 0.12 0.96"/>
<feFuncB type="table" tableValues="0.09 0.32 0.97"/>
</feComponentTransfer>
</filter>
</svg>
Common questions
Does filter: url(#brand-duotone) work across Chrome, Safari, and Firefox?
Yes—inline SVG <feComponentTransfer> lookup filters have universal support across all modern desktop and mobile browsers.
What happens if I swap Shadow and Highlight colors?
Inverting puts light ink in shadows and dark ink in highlights (solarized negative effect); keep the darker swatch on Shadow for natural portraits.
Are uploaded headshots processed privately?
Yes—100% of pixel mapping and PNG/WebP encoding runs locally in your browser.
Try Duotone Generator
Map shadows, midtones, and highlights in OKLCH—and export PNG or pure CSS/SVG code.