Tools38

A PRACTICAL COLOR GUIDE

How to create duotone & tritonephotos and SVG filters

Map shadows, midtones, and highlights in OKLCH—and export PNG or pure CSS/SVG code.

Create high-impact duotone and tritone photo effects in perceptual OKLCH space and export lossless PNG, WebP, or lightweight SVG feComponentTransfer filter code.

Follow the guide
A REAL STUDIO EXAMPLE
Before Standard Grayscale / Full Color: CSS mix-blend-mode washes out highlights or darks
After Obsidian & Studio Ruby Duotone: Exact luminance curve mapping + native SVG filter
Full-color portrait → Crisp shadow-to-highlight OKLCH duotone + 12-line SVG filter
QUICK VIDEO TUTORIAL How to create duotone & tritone photos and SVG filters Map shadows, midtones, and highlights in OKLCH—and export PNG or pure CSS/SVG code. Watch the video

How to create duotone & tritone photos and SVG filters

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.

01

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.

02

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.

03

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>
A FEW USEFUL DETAILS

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.

YOUR TURN

Try Duotone Generator

Map shadows, midtones, and highlights in OKLCH—and export PNG or pure CSS/SVG code.

Open Duotone Generator

Image detail

Language38

EnglishالعربيةFrançaisItalianoDeutschEspañolPortuguêsNederlandsРусскийTürkçe日本語中文हिन्दीBahasa IndonesiaBahasa Melayu한국어Tiếng ViệtไทยPolskiSvenskaУкраїнськаNorskবাংলাΕλληνικάفارسیاردوČeštinaDanskMagyarRomânăSuomiБългарскиFilipinoქართულიSlovenčinaAzərbaycancaעבריתSlovenščina