Web Scripts & Software
DEV3 Colorize Black and White Photos — Source Code (React + Tailwind)
from $20$29
Loading…
Design tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Before you start: the model (DDColor tiny (int8)) is about 108 MB. It downloads once from the Hugging Face hub, is cached by your browser and runs locally. Your photo is never uploaded and no server runs the model.
Licence: Apache-2.0 (DDColor, Kang et al., ICCV 2023). Runs on your CPU with WebAssembly, so it works in every modern browser. A GPU is not required. Expect about 25 seconds per photo.
Adds a sepia, cool or rose tint with no model. It does not invent real colours.
Add a black and white photo to begin. The colours come from an open model that runs in your browser, and you decide when the model downloads.
Need Colorize Black and White Photos as a complete website or app for your brand? We design and build it end to end. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The colorize black and white photos stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Launch the full site, not just the asset. Buy once, own the source, and try each one live first.
Web Scripts & Software
from $20$29

Enterprise SaaS Starters
from $69$99

Web Scripts & Software
from $69$99
Web Scripts & Software
from $20$29
Web Scripts & Software
from $20$29
Web Scripts & Software
from $20$29
Web Scripts & Software
from $20$29

Web Scripts & Software Mobile app
from $69$99
Turn a scan of a family photo, a historic picture or a monochrome shot into colour. The colours are predicted by DDColor, an open model that runs inside your browser.
The tool converts the photo to the Lab colour space, where L is brightness and a and b carry colour. It resizes the brightness to 512 by 512 for the model, receives predicted a and b planes, enlarges them back to your photo size and combines them with the original full-resolution brightness. That is why sharpness is preserved.
DDColor by Kang et al., Apache-2.0. ONNX conversion by the Hugging Face community (toolsmonk/ddcolor-tiny).
It uses DDColor, an open research model (ICCV 2023, Apache-2.0) in its "paper tiny" size. The photo's brightness is kept exactly as it is. The model looks at the picture and predicts the two colour channels (a and b in the Lab colour space), which are then combined with the original brightness. Detail and contrast therefore come from your photo, and only colour is added.
No. The model guesses plausible colours from what it learned on millions of photos: blue sky, green grass, natural skin tones. It cannot know the real colour of a dress or a car, so treat the result as a best guess. Use the saturation, warmth and tint sliders to match what you know or prefer.
No. The model file is downloaded from the Hugging Face hub (about 108 MB, once) after you press the button, and your browser runs it locally with WebAssembly. The photo never leaves your device and no server runs any model for you.
No graphics card is needed because the model runs on the CPU. On a typical laptop a photo takes 15 to 60 seconds. The 108 MB download is cached by your browser, so later photos start immediately.
The tool turns it into greyscale first and replaces its colours with the model's guess. It warns you when the photo is not black and white. Use it on genuine black and white or sepia scans for the best results.
Yes. The simple tone option applies sepia, cyanotype or warm and cool split tones instantly with no model. It does not add real colour, only a tint, but it needs no download.