Images · Made a little simpler

Duotone Image Generator

Map local image luminance to custom shadow and highlight colors. Adjust intensity, compare previews and download a PNG with the original alpha.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Duotone Image Generator: how to use it

  1. Open a local image or load the eight-pixel sample.
  2. Choose opaque hex colors for shadows and highlights, then set intensity.
  3. Apply duotone. Compare the original and edited previews and download the PNG.

Limits and notes

Still JPG, PNG and WebP up to 25 MB, 6 megapixels and 5,000 pixels per side. Images are decoded to 8-bit sRGB and processed on your device. Relative luminance uses linear-light sRGB. The two tone colors interpolate in encoded sRGB. Original alpha and hidden RGB at fully transparent pixels are preserved.

How your privacy works →

Duotone Image Generator: common questions

Why do green and blue receive different tones at the same channel brightness?

Relative luminance gives green a higher contribution than blue. A pure green pixel is therefore mapped closer to the highlight color than pure blue.

Does a duotone image use exactly two stored RGB values?

The two chosen colors are endpoints. The tool interpolates between them for midtones.

What does intensity zero do?

The exported PNG contains the original decoded pixels. The file is a new PNG.

Guides