Tinting a photo with one colour, and what that is not
Toning is an old darkroom technique. A black and white print was soaked in a chemical bath that changed the colour of its silver: sepia and gold toners turned it brown, selenium made it purple-brown, and iron-based cyanotype prints were deep blue from the start. The picture kept its light and shade, but every tone of grey became a tone of one colour. This tool does the digital version of that, on any photo.
First each pixel's brightness is measured as luma, using the Rec. 709 weights: 21% of the red, 72% of the green and 7% of the blue. Then the pixel takes on the tint colour at that same brightness. Where the pixel is exactly as bright as the tint, it becomes the tint. Towards black and towards white the colour fades out, so the deepest shadows stay black, the brightest highlights stay white, and nothing turns into a flat, clipped colour.
With Warm brown, the tint is 176, 122, 70, which has a luma of about 130. A grey pixel of 130 becomes exactly 176, 122, 70. A lighter grey of 200 becomes 220, 197, 174, a cream, and a darker grey of 60 becomes 81, 56, 32, a deep brown. A red rooftop of 220, 60, 40, whose luma is about 93, becomes 126, 87, 50. Each result has the same luma as the pixel it came from, so the picture looks just as bright as before. Light tint uses the same brown at 40% strength, so a light grey of 200 only warms to 208, 199, 190.
It is worth being clear about what this is not. Apps that "colourise" old photos use an AI model to guess that skin should be skin-coloured, the sky blue and the grass green. This tool does not guess anything. It applies one colour to the whole picture, the way a toning bath did. If you want blue sky and green grass, you need a different kind of tool; if you want a warm, consistent tone across a set of photos, this is the right one.
The limits are simple. One colour is used for the whole picture, with no way to colour parts of it differently. A colour photo loses its own colours at full strength, because only its brightness is kept. A very dark or very light tint colour has little room to show, so most of the picture stays near grey. A transparent PNG keeps its transparency. JPEG is saved again at high quality, HEIC comes out as PNG, and the largest image the tool takes is 24 megapixels.