EditSafely

Create a Two Color Image

Remap an image to a duotone of two colors based on each pixel's brightness. Runs entirely in your browser, so your data never leaves your device.

Input

Drop a file here, or click to browse

Files never leave your device

Output

The result appears here as you type.

Options

How to use Create a Two Color Image

  1. 1. Upload the image. Drop in the photo or graphic you want remapped to two colors. It decodes so each pixel's brightness can be measured for the duotone mapping.
  2. 2. Set the Shadow color and Highlight color. Pick a Shadow color for the darkest pixels and a Highlight color for the brightest ones. Every pixel in between gets a blended shade along the gradient from one to the other.
  3. 3. Download the duotone image. Save the result once the preview shows the image recolored entirely between your two chosen colors, replacing the original color information with the duotone gradient.

When to use Create a Two Color Image

Create a Two Color Image remaps a photo to a duotone built from two colors based on each pixel's brightness, replacing full color with a shadow-to-highlight gradient between the two. It is for a graphic, branded look rather than natural color adjustment.

  • Matching a two-tone brand style. A brand's visual identity uses a specific pair of colors for all its photography, and mapping product or event photos to that duotone keeps the whole gallery consistent.
  • Creating a poster-style portrait. A concert or event poster wants the bold, high-contrast duotone look popular in gig art, achieved by mapping a portrait photo to two strongly contrasting colors.
  • Designing a print piece with limited ink colors. A print run using only two ink colors needs source photos converted to match, and previewing the duotone result here confirms how the image will look before sending it to print.

Examples

Blue duotone

Input

photo.png + dark #1e3a8a, light #bfdbfe

Output

photo.png recolored between two blues

About the Create a Two Color Image tool

Create a Two Color Image is a free online tool that works entirely inside your web browser. Remap an image to a duotone of two colors based on each pixel's brightness. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 200 Image utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

You can shape the output with 2 settings, including Shadow color and Highlight color, and the result refreshes the moment you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. A worked example further down the page shows exactly what the tool produces for a real input.

Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every keystroke is handled on your own machine rather than by a remote API.

Frequently asked questions

Does Create a Two Color Image cost anything?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

Which files does Create a Two Color Image accept?

It accepts images in any common format (PNG, JPG, WebP, GIF and more). There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I save the output?

Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.

Related tools

All Image Tools