Image Duotone Tool

Dimensions (px)—
Aspect ratio—
Megapixels—
Uncompressed size (RGB)—
Duotone colours—

How Image Duotone Tool is calculated: Each pixel's brightness is measured as 0.299R + 0.587G + 0.114B, then mapped along a straight line from the shadow colour at black to the highlight colour at white: a mid-grey pixel becomes the exact middle of the two colours.

What is a duotone?

A duotone is a photo printed in two colours: the shadows take one colour, the highlights take another, and every tone in between is a blend of the two. A black-and-white photo becomes a blue-and-gold poster, or a red-and-cream one, depending on the colours you pick. The tool runs entirely in your browser — you choose a photo and two colours, the mapping happens on your device, and nothing is uploaded.

The effect comes from print, where a duotone was a way to make a black-and-white photo look richer than a single ink could. Two inks gave the image more depth than one, and the colour pair became part of the design: a concert poster in blue and yellow, a book cover in red and cream. Today the pair is a style choice, and the most recognisable posters of the last century are duotones.

A duotone is not a tint or a filter laid over the photo. The original colours are replaced entirely: the photo's brightness decides where each pixel falls between the two colours, and the hues come only from the pair you chose. A red dress and a green field at the same brightness become the same duotone colour, because brightness is all the tool reads.

How duotone works: brightness along a line

Each pixel's brightness is measured with the standard luminance formula: 0.299 times red plus 0.587 times green plus 0.114 times blue. That gives a number from 0 for black to 255 for white. The number is divided by 255 to give a position from 0 to 1 along the gradient between the shadow colour and the highlight colour.

The new colour is a straight blend: each channel is the shadow value plus the difference between highlight and shadow, times the position. A pixel at brightness 0 gets the shadow colour exactly. A pixel at brightness 255 gets the highlight colour exactly. A pixel at brightness 128 sits just past halfway, and its colour is just past the middle of the two colours.

Because the blend is linear, the tones stay in order: a brighter pixel in the original is always a brighter step towards the highlight in the result. The photo's light and shadow survive the colour change, which is why a duotone still reads as the same photo. Only the palette changes — the structure is untouched.

Picking the two colours

The shadow colour sets the dark end and the highlight colour sets the light end. The defaults are a deep blue, #0B3D91, for the shadows and a warm gold, #F5C518, for the highlights — a classic poster pair with strong contrast. Dark blue shadows and gold highlights suit concerts, sports, and bold graphics, because the pair is high-contrast and reads clearly at a distance.

A pair works best when the two colours are far apart in brightness. A dark shadow and a light highlight give the photo its full range of tones. Two colours close in brightness — a mid-blue and a mid-green, for example — give a flat, muddy result, because the gradient has nowhere to go. If the result looks flat, make the shadow darker or the highlight lighter, not the other way round.

The colours can be typed as six-digit hex codes, with or without the hash, or as three-digit shorthand: #09F works the same as #0099FF. An invalid code falls back to black for the shadow and white for the highlight, so the tool never fails on a typo — it just uses the safe default. The result updates live as you type, so you can try pairs quickly.

A worked example: one pixel, then a whole photo

Take one pixel with brightness 128, exactly halfway, and the default colours: shadow #0B3D91, which is red 11, green 61, blue 145, and highlight #F5C518, which is red 245, green 197, blue 24. The position is 128 divided by 255, or about 0.502. Red becomes 11 plus 245 minus 11 times 0.502, which is 11 plus 117.46, or 128.46, rounded to 128. Green becomes 61 plus 197 minus 61 times 0.502, which is 61 plus 68.27, or 129.27, rounded to 129. Blue becomes 145 plus 24 minus 145 times 0.502, which is 145 minus 60.74, or 84.26, rounded to 84. The pixel is now 128, 129, 84 — a muted olive-gold, the middle of the pair.

Try the same pixel with black shadows and white highlights. The position is still 0.502, and each channel becomes 0 plus 255 times 0.502, which is 128. The pixel becomes 128, 128, 128 — a plain mid-grey. That is the duotone of black and white, which is just the grayscale photo. Every other colour pair is a tinted version of the same idea: the brightness decides the position, and the pair decides the colours at the ends.

Take a whole photo, 1920 by 1080 pixels. The tool reports its size as 1920 × 1080, an aspect ratio of 16:9, 2.1 megapixels, and an uncompressed size of 5.93 MB. Those numbers describe the photo itself: duotone changes the pixel values, not the dimensions. A smaller photo, 800 by 600, is 4:3, 0.5 megapixels, and 1.37 MB uncompressed.

Who uses duotone, and why

Poster designers are the biggest users. A duotone is the fastest way to make a photo match a brand: pick the brand's two colours, run the photo through, and the image belongs to the design. A music festival, a sports team, and a charity campaign can all use the same photo in different duotones and look like different events. The pair does the branding work.

Book and magazine designers use it for covers. A duotone cover stands out on a shelf because it has only two colours in a world of full-colour photos, and it prints cheaply — two inks instead of four. A portrait in a strong duotone is more memorable than the same portrait in colour, because the colour pair is the first thing the eye registers.

Photographers use it to rescue a photo with bad colour. A shot taken under mixed lighting — tungsten lamps and daylight together — has colour casts that are hard to fix. A duotone throws the casts away and replaces them with a deliberate pair, so the colour problem becomes a style choice. The photo stops looking wrong and starts looking designed.

Duotone vs grayscale vs sepia

Duotone, grayscale, and sepia all replace a photo's colours, but they replace them with different things. A grayscale converter replaces them with grey: the result has no hue at all. Sepia replaces them with brown: the result has one warm hue. Duotone replaces them with two hues you choose: the result has exactly the palette you picked.

If you want no colour, use grayscale. If you want the vintage brown look, use sepia. If you want the photo to match a brand, a poster, or a mood, use duotone — it is the only one of the three where you control both ends of the palette. A hue tool is different again: it shifts the existing colours rather than replacing them, so the photo keeps its own palette.

Some people combine them: duotone first, then a contrast tool to push the shadows darker and the highlights brighter, which makes the pair punch harder. Or grayscale first to check the tones, then duotone with the same brightness, which is the same result by a different route. The two colour fields make these combinations easy to try.

Common duotone mistakes

The most common mistake is two colours too close in brightness. A navy shadow and a dark green highlight, or a pale yellow shadow and a white highlight, give a flat result where the photo's tones barely show. The pair needs distance: one dark, one light. If the result looks washed out, darken the shadow or lighten the highlight before anything else.

Second: a pair that fights the subject. A warm gold highlight on a snowy landscape looks wrong, because the eye expects cold light on snow. A cold blue shadow on a sunset looks wrong for the same reason. The pair should suit the mood of the photo — warm pairs for warm subjects, cool pairs for cool ones — or the result will feel like a mistake rather than a choice.

Third: expecting duotone to keep the original colours. It does not — the original hues are replaced entirely, and only the brightness survives. If the colour carries meaning, like a red warning sign or a team jersey, a duotone will lose it. Use the effect when the palette is yours to choose, not when the colours are the information.

How to use this image duotone tool

Choose an image — JPEG, PNG, or WebP. The tool reads its size and shows it above the result: dimensions, aspect ratio, megapixels, and uncompressed size. Then set the two colours. The defaults are deep blue #0B3D91 for shadows and gold #F5C518 for highlights. Type your own hex codes to change them; the preview updates as you type.

When the preview looks right, press the download button under it. The file is the duotone image at the photo's original size, in the same format it arrived in. You can run the tool again on the downloaded file with a different pair, but the second duotone reads the brightness of the first, so the result is close to the first pair — to start over, use the original file. There is no sign-up, no account, and no upload.

Everything runs in your browser. No sign-up, no account, no data sent anywhere — the photo never leaves your device, and the page works offline once it has loaded. For a photo with no colour at all, a grayscale converter is the companion tool; for shifting hues instead of replacing them, an image hue tool does the job.

Frequently Asked Questions

One dark and one light, far apart in brightness. A dark shadow and a light highlight give the photo its full tonal range. Two colours close in brightness give a flat, muddy result.

No — a duotone is two colours by definition. For three, use a gradient tool or layer a second effect; this tool maps brightness along one straight line between two ends.

Duotone reads brightness only. A red and a green at the same brightness sit at the same point on the gradient, so they become the same duotone colour. Only the tones survive.

No. Everything runs in your browser — the photo is read, remapped, and downloaded on your device. Nothing is sent to a server, and the page works offline once it has loaded.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.