Make a Duotone Image screenshot

Make a Duotone Image

Map an image's shadows to one colour and its highlights to another, with the luminance curve kept. Two named colours, no upload, no model.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your tab
No upload
No model
Refusals named

What this page does

Turns a picture into a two-colour image by mapping each pixel's luminance between a shadow colour and a highlight colour. Unlike a tint, it replaces the colour rather than washing over it.

How to use it

Choose a file, set the options and press Render. Example: a 1200 × 800 photo with #1b2a4a and #f2c14e becomes the same picture in two colours, darkest pixel on the navy, lightest on the gold.

How it works

Each pixel's luminance is computed with the Rec. 601 weights, normalised to 0-1, and used to interpolate between the dark and light colours in sRGB. Alpha is preserved, so a cut-out PNG stays cut out.

What it refuses

A colour that is not a hex value, a pair of identical colours, or an image over the pixel cap is refused by name.

Where it runs

The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device. It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank.

Turns a picture into a two-colour image by mapping each pixel's luminance between a shadow colour and a highlight colour. Unlike a tint, it replaces the colour rather than washing over it.

Each pixel's luminance is computed with the Rec. 601 weights, normalised to 0-1, and used to interpolate between the dark and light colours in sRGB. Alpha is preserved, so a cut-out PNG stays cut out. The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.

Worked example: a 1200 × 800 photo with #1b2a4a and #f2c14e becomes the same picture in two colours, darkest pixel on the navy, lightest on the gold.

How to use the make a duotone image

Choose an image file, set the options, and press Render. The result appears below the form.

Example: a 1200 × 800 photo with #1b2a4a and #f2c14e becomes the same picture in two colours, darkest pixel on the navy, lightest on the gold.

The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.

  • Shadow colour (hex) — a hex colour
  • Highlight colour (hex) — a hex colour
  • Output format — one of png, jpeg, webp
  • Quality (JPEG and WebP) — 1 to 100

What the canvas draws

Turns a picture into a two-colour image by mapping each pixel's luminance between a shadow colour and a highlight colour. Unlike a tint, it replaces the colour rather than washing over it.

Each pixel's luminance is computed with the Rec. 601 weights, normalised to 0-1, and used to interpolate between the dark and light colours in sRGB. Alpha is preserved, so a cut-out PNG stays cut out.

  • Every option is declared by this page, so an unknown choice or an out-of-range number is refused by name before any pixel is drawn.
  • The preview and the download are the same canvas: what you see is the file you get.

What it refuses, and what it leaves out

A colour that is not a hex value, a pair of identical colours, or an image over the pixel cap is refused by name.

It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank.

  • Not the right page for: keeping the original colours under a wash, which is the colour-shade page
  • Not the right page for: three or more brand colours, which this page does not do

What to Expect

Best for

  • a consistent two-colour brand image
  • a poster with a limited palette
  • making a busy photo quieter

Not ideal for

  • keeping the original colours under a wash, which is the colour-shade page
  • three or more brand colours, which this page does not do

What this tool keeps

  • The luminance structure of the picture
  • Alpha, so cut-outs stay cut out
  • The exact two colours you name

What may need cleanup

  • Choosing colours with enough contrast between them
  • Re-cropping before the duotone if the composition is weak

Common errors

  • Identical dark and light colours would erase the picture, so they are refused
  • A three-digit hex is expanded, not rejected
  • JPEG output flattens transparency

Example use cases

  • A duotone hero image for a brand page
  • A two-colour print poster

Sample input

a 1200 × 800 photo with #1b2a4a and #f2c14e

Sample output

the same picture in two colours, darkest pixel on the navy, lightest on the gold

Who this is for

  • Designers working to a limited palette
  • Print makers

Frequently asked questions

Does my image get uploaded anywhere?

The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.

What is the maximum image size?

It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank. The limit exists because a browser tab has to hold the decoded bitmap in memory.

What happens if the file cannot be decoded?

The page refuses it by name — unsupported type, decode failure, zero pixels, or above the pixel cap — and shows the measured size rather than drawing a blank canvas. The file you chose stays selected so you can correct one option and try again.

How is a duotone different from a colour tint?

A tint lays one colour over the picture at partial opacity, so the original colours still show through. A duotone replaces each pixel with a point on a two-colour ramp, so the output really has only those two colours.

Can I keep some of the original colour?

No. This page is a full replacement. If you want one colour kept and the rest desaturated, that is a selective-colour job this page does not do.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.