PUBLIC.INTERNET

Brandify Duotone Engine

A duotone replaces a photo's colors with a blend between two of your own: one for the darkest areas, one for the lightest. Enter a Shadow Color and a Highlight Color, load an image, and the original and the duotone sit side by side. The Intensity slider (0.5 to 1.5) blends some original color back in below 1.0 and pushes past the pure duotone above it. It works like a two-stop gradient map, handy for making mismatched stock photos match a brand palette.

🎨 Drag & Drop Image Here

or click to browse

(JPG, PNG, WebP)

How to make a duotone

  1. Load an image by dropping it on the dashed box or clicking it. The Original and Duotone canvases appear side by side, already processed with the current colors.
  2. Set Shadow Color (Dark Areas) with the picker or by typing a hex code with its #. The default is a deep blue, #1e3a8a.
  3. Set Highlight Color (Light Areas) the same way. The default is amber, #fbbf24.
  4. Adjust Intensity from 0.5 to 1.5. At 1.0 the result is the pure duotone. Press Apply Duotone Effect to redraw after any change.
  5. Download Branded Image saves only the duotone canvas, at most 600 pixels on its longest side, as duotone-<timestamp>.png.

How the gradient map works, and where it goes flat

Each pixel is reduced to a luminance value from 0 to 255 using 0.299 red, 0.587 green, and 0.114 blue. That value indexes a 256-step lookup table running from the shadow color to the highlight color, so at Intensity 1.0 black pixels take the shadow color exactly and white ones the highlight color. Everything between is a straight linear blend in RGB.

Intensity then blends the mapped color with the original pixel. Below 1.0 you keep some original color; above 1.0 the formula extrapolates past the duotone and the browser clamps channels to 0 to 255, which exaggerates contrast and can clip. Duotones work best when your two colors differ clearly in lightness. If they are close in brightness, the photo loses its shape and turns into a flat tint. Images are scaled to fit 600 pixels on their longest side first, so the download is never larger than that.