PixKit

Home / All Tools /Convert

Duotone

Recolour a photo by brightness: one colour for shadows, one for highlights, a continuous ramp between them, detail intact.

✓ Local processing · No uploads · No signup

Drop an image, click to browse, or press Ctrl+V

One colour for shadows, one for highlights, a continuous ramp between them; drag the divider to compare

Real-world uses

  • A gig poster has one flat live photo. The Blue & Orange recipe — #0B1B3D into #FFB26B — gives it warm and cool poles instantly, while Pick from image swaps in the colours the photo actually has when the preset fights the shot.
  • A product shot sits on a dark landing page and its white backdrop glares. A duotone with the brand colour as highlight and the page background as shadow ties image and layout together, while the untouched luminance keeps highlights and edges readable.

Limits: Brightness is measured in linear light: sRGB is decoded, weighted with Rec.709 coefficients (the same convention as Photoshop), then folded back to an equivalent grey level for the lookup. Interpolation happens on OKLab lightness, so a black-to-white setting returns plain greyscale (128 grey stays 128) and warm-to-cool ramps step evenly — blending sRGB numbers directly spaces steps along the gamma curve, crowding the shadows and inviting banding. Midtone balance never alters the endpoint colours. Linear light still cannot place every colour exactly: OKLab L is not linear light either, so pure blue, red and magenta sit about 0.03–0.05 brighter than a grey at the same index, green about 0.03 darker, and yellow and cyan within 0.02 — down from roughly 0.3 with gamma-coded luma. Previews render at 1100px while export recomputes from the original; sources beyond 8192px on one edge or 16.7MP are downscaled on load. Alpha is preserved and colour still follows that pixel brightness.

Related tools:Swap a single colour insteadWork out which two colours to use

How it works

  1. Drop an image and start from a recipe such as Blue & Orange or Wine & Cream, or set the shadow and highlight colours yourself
  2. Hit Pick from image to take a pair from the photo: the darkest dominant colour for shadows and the most saturated one for highlights
  3. Drag the divider to compare with the original, open Advanced if the midtones need pushing either way, then download at the original resolution

FAQ

How is this different from a colour overlay or a sepia filter?

An overlay drags the whole frame toward one colour: light enough and nothing happens, heavy enough and the image flattens. Sepia uses one fixed palette and squashes lightness into a narrow band. A duotone assigns two endpoints — the darkest pixels land on one colour and the brightest on the other, with everything in between mapped proportionally along that ramp, so tonal structure survives and highlights stay clean.

Why not just blend the two colours as sRGB numbers?

Because sRGB values carry a gamma curve and are not linear brightness. Interpolating them spaces the ramp along that curve: steps crowd the shadows and spread out in the highlights, which shows up as banding in dark areas. Converting both endpoints into OKLab, a perceptually uniform space, spaces the steps the way the eye expects. For placement, each pixel is decoded to linear light, weighted with Rec.709 coefficients, then folded back to an equivalent grey level before looking up OKLab lightness — placement and interpolation share the same OKLab scale, so a black-to-white setting returns plain greyscale instead of lifting or crushing the frame. Index 0 and 255 hold the endpoint colours verbatim, so pure black and pure white land exactly on the colours you chose, and Midtone balance only remaps brightness to level without touching either end.

When should I touch Midtone balance?

Only when the subject sits in the middle of the tonal range. Pushing toward shadows (above 1) moves midtones onto the shadow colour sooner, which suits a dark subject on a bright background; pushing toward highlights (below 1) gets skin and fabric onto the highlight colour earlier, which suits pale subjects. It remaps brightness to level and leaves both endpoint colours alone, so overdoing it weights the frame to one side rather than shifting hues.

Is the export full resolution or the preview size?

The export is recomputed from the original and matches its dimensions; the preview canvas caps at 1100px purely so the sliders stay responsive. Sources beyond 8192px on one edge or 16.7MP are downscaled when they load, so the export matches that reduced size, the same rule the rest of the site follows.

Related tools