Duotone Effect

Recolour a photo with two colours: one for the shadows, one for the highlights, and a smooth blend between them. Pick a ready pair or choose your own. The photo never leaves this browser tab.

How it works

Each pixel's brightness is worked out with the Rec. 709 weights: 21% of its red, 72% of its green and 7% of its blue. That gives a number from 0 (black) to 255 (white).

That number picks a point on a straight line between your two colours. Black becomes the shadow colour, white becomes the highlight colour, and a mid grey lands half way between them.

The preview is a small copy, so it changes as soon as you pick a pair. The download is made at full size in a background worker.

How to use it

  1. 1 Choose an image, drop it on the file box, or paste one with Ctrl+V.
  2. 2 Pick a colour pair, or set a shadow colour and a highlight colour under Your colours.
  3. 3 Press Show original to compare, then press Download. JPEG stays JPEG, PNG stays PNG.

Good to know

  • Choose a dark shadow colour and a light highlight colour. Two colours of the same brightness turn the photo into a flat blur.
  • Use your brand colours to make a set of photos look like they belong together on a website or in a deck.
  • Photos with a clear subject and plain background, such as a portrait against a wall, read best as duotones.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

How a duotone is made, pixel by pixel

A duotone first throws away the colour of a photo and keeps only its brightness. Brightness here is luma: 21% of the red, plus 72% of the green, plus 7% of the blue. Those Rec. 709 weights follow the eye, which sees green as far brighter than blue at the same strength. The result is one number per pixel, from 0 for black to 255 for white, exactly like a black and white version of the photo.

Then each brightness becomes a colour. Think of a straight line from the shadow colour to the highlight colour. A brightness of 0 sits at the shadow end, 255 at the highlight end, and everything else in between, in proportion. With Navy and coral, black becomes navy, 27, 38, 79, white becomes coral, 255, 138, 101, and a mid grey of 128 becomes 141, 88, 90, a dusty rose half way along.

A worked example shows why the original colours do not matter, only their brightness. A pure red pixel, 255, 0, 0, has a luma of only 54, because red looks darker than its number suggests. With Navy and coral it becomes 75, 59, 84, close to the navy end. A mid green, 0, 128, 0, has a luma of 92 and becomes 109, 74, 87. Two very different colours in the photo end up as two nearby shades of the same gradient.

That is also the main design rule for picking a pair: the shadow colour should be clearly darker than the highlight colour. Then the photo keeps its shapes, because dark parts stay dark and light parts stay light. If the two colours are about as bright as each other, say a mid red and a mid blue, every pixel ends up a similar brightness and the picture flattens into a coloured smear. The ready pairs all follow the rule; check your own pair against the preview.

The limits are clear. The gradient is a straight line between two colours, with no third colour for the midtones and no control over the curve. The blend is worked out on the stored colour values, as design tools do, not in a perceptual colour space, so some pairs pass through a slightly greyer middle. A transparent PNG keeps its transparency. JPEG is saved again at high quality, HEIC comes out as PNG, and the largest image the tool takes is 24 megapixels.

Frequently asked questions

What is a duotone?

In print, it is an image made with two inks instead of one, usually black and one colour. In design today it usually means a photo turned into a gradient between two bold colours, as on many music and festival posters.

Can I use my own colours?

Yes. Under Your colours, pick a shadow colour and a highlight colour. The preview updates as you choose, and the download uses the same two colours.

Is my photo uploaded?

No. It is read, changed and saved inside this browser tab. Nothing is sent to a server.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.