Duotone Image Generator: Map a Photo to Two Colors

Converts a photo to luminance and maps dark to your shadow colour and light to your highlight colour.

Use the tool

Why this tool exists

Duotone images are common in posters and hero banners. Each pixel brightness is looked up between two colours. A contrast control lifts or flattens the mapping.

The luminance uses Rec. 709 weights on the gamma encoded values, a simple and common approach. The output is a PNG or JPG made locally.

How to use it

  1. Choose an image.
  2. Enter the shadow and highlight colours.
  3. Adjust the contrast.
  4. Run it and download the result.

Frequently asked questions

Which colours work best?

A dark saturated colour for shadows and a bright warm or cool one for highlights.

Does it change image size?

No. The output has the same pixel size.

Can I get transparency?

PNG keeps any transparency flat; this tool outputs opaque pixels.

Is the image uploaded?

No.