About Duotone Effect
A duotone replaces every pixel with a mix of just two colours, chosen by how bright that pixel is. The darkest parts take the shadow colour, the brightest take the highlight colour and everything else falls on the straight blend between them.
Deep navy with pink, or black with a bright yellow, gives the bold poster style used on album covers and campaign banners. Pick both colours, watch the preview and save the full-size result.
How it works
- Your picture is decoded by the browser, upright, at its full size, and its pixels are read from a canvas.
- The chosen effect is computed pixel by pixel on that data. Pictures over one megapixel are handed to a background worker so the page stays responsive; moving a slider again stops the old run.
- Blur is three box blurs in a row, a close approximation of a Gaussian that takes the same time at any radius. Edges and emboss use the Sobel gradient of brightness.
- The result is drawn back to the canvas and saved in the format you click. Transparency is kept in PNG and WebP.
Questions
How is brightness measured?
With the Rec. 709 weights used for screens: green counts most, then red, then blue. A pure green pixel therefore lands much closer to the highlight colour than a pure blue one.
Can I swap the colours to get a negative look?
Yes. Set a light shadow colour and a dark highlight colour and the picture comes out inverted in those two colours.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.