InstantPalette

Photo recolor tool

Turn a photo into a duotone, tritone, gradient map or poster in your palette's colors.

Image

Sample image

Sample images Drop or paste your own anywhere on the page.

Export

The CSS is an approximation: a gray filter plus blend modes, so colors differ a little from the file.

Look

100%
0
0

How to use it

Load a photo, pick a look, choose which colors it uses, then download the result at full size.

  1. Bring a palette. Colors from the other InstantPalette tools arrive with you. Press Generate in the palette bar for a new set.
  2. Press Choose an image, drop a file anywhere on the page, or paste one. The page opens on a sample picture, so you can try every look first.
  3. Pick a look. Each tile shows your picture in your colors. Duotone uses two colors, Tritone three, Gradient map the whole palette.
  4. Choose the colors. Each role has a row of palette colors: the dark parts take Shadows, the light parts take Highlights. Picking a color that another row uses swaps the two.
  5. Adjust Brightness and Contrast until the subject stands out, and lower Strength to let the original color back in. Reverse tones turns darks into lights.
  6. Drag the handle across the picture to compare it with the original, or focus the handle and use the arrow keys.
  7. Pick a format and press Download image. On Duotone, Copy CSS gives you a version for a web page.

How recoloring works

Duotone, Tritone, Gradient map and Posterize ignore the colors in the photo. They read one number per pixel, its lightness in OKLab, a color space built to match how light or dark a color looks to people. Brightness and contrast change that number first. The number then picks a point on a ramp from your dark color to your light one. The ramp is mixed in OKLab too, so the middle of a blue to yellow duotone does not turn gray and dull.

Posterize cuts the lightness range into two to eight steps and gives each step the palette color closest to it in lightness. With more steps than colors, some steps share a color, and the line under the ramp says how many are in use.

Nearest color keeps the photo's own hues as a guide. Every pixel becomes the palette color that looks most like it, measured as distance in OKLab. Large flat areas are normal here. Dither breaks them up: it carries the error of each pixel over to its neighbors, the Floyd-Steinberg method, so that mixed dots suggest the shades the palette does not have.

Tint lays one color over the photo. Multiply darkens, Screen lightens, Soft light does some of both, and Color keeps the photo's lightness while taking hue and chroma from the tint. For Nearest color and the first three tint blends, brightness and contrast act on red, green and blue.

Picking colors that work

A duotone needs distance in lightness more than it needs distance in hue. A near-black navy with a pale yellow keeps faces and edges clear, while two mid-tone colors flatten the picture. If the result looks flat, raise the contrast or choose a lighter highlight. Before you set text on the picture, check the pair in the contrast checker.

Questions

Is my photo uploaded?

No. Your browser opens the file and recolors it on a canvas on this page. Nothing is sent anywhere, and the link in the address bar holds only your colors and settings, never the image.

What is a duotone?

A picture made from two colors. One color replaces the shadows, the other replaces the highlights, and every tone in between is a mix of the two. The name comes from printing, where a photo was printed with two inks.

How large can the image be?

Any size your browser can open. Images up to 4096 pixels on the long side are exported at their own size, and larger ones are reduced to 4096 pixels. The preview uses a smaller copy so that the sliders stay quick.

Does the file keep its location and camera data?

No. The download is drawn and encoded again, so GPS position, camera model, date and other metadata from the original file are not in it.

Which format should I choose?

PNG keeps every pixel exactly and suits posterized, nearest color and dithered pictures. JPEG makes smaller files of soft photographic looks, and fills transparent areas with white. WebP is usually smaller still and is offered when your browser can write it.

Why does the dither look finer in the downloaded file?

Each dither dot is one pixel. The preview works on a copy of at most 1400 pixels, so a larger photo gets more and smaller dots in the file. For coarse dots, shrink the photo before you load it.

Is the CSS the same as the downloaded picture?

No, it is close. The copied CSS uses a grayscale filter and blend modes, which mix in sRGB, so midtones differ. A highlight shifts when the shadow color has more red, green or blue than it does, and Strength is left out. Use the downloaded file when the colors must match.