Home › Image Tools › Colorize Black and White Photo

Colorize Black and White Photo

Bring old black and white pictures to life. A neural network trained on millions of color photos predicts natural colors for skin, sky, grass and clothing, and it runs entirely inside your browser, so your family photos are never uploaded. Fine-tune the color intensity and warmth, compare before and after, and download a full-size PNG or JPG.

Last updated:

grayvivid
coolerwarmer
Use your own ONNX model

Load a colorization model (.onnx) from your computer. It must take an RGB image and return RGB or two Lab color channels.

Advertisement
Advertisement

How to use the Colorize Black and White Photo

  1. Add a photo: drop a black and white picture on the box, choose it or paste it with Ctrl+V. A sample photo is shown until you do.
  2. Click Colorize photo. The first time, the AI model downloads (about 61 MB) and is stored in your browser; after that colorizing starts right away.
  3. Adjust the look with the Color intensity and Warmth sliders. Changes are instant because the AI colors are kept in memory.
  4. Compare by dragging across the photo or with the Before / after slider.
  5. Download the result as PNG (best quality) or JPG (smaller file).

Why only the color changes, never the detail

Every pixel of a photo can be split into luminance (how bright it is) and chrominance (which color it has). A black and white photo already contains the full luminance; only the chrominance is missing. This tool works in the YCbCr color space used by JPEG:

  • Y (brightness) is taken from your original: Y = 0.299 R + 0.587 G + 0.114 B.
  • Cb and Cr (blue-difference and red-difference) come from the AI model, which works at 256 × 256 px, and are scaled smoothly up to your photo's size.
  • The final pixel is rebuilt with R = Y + 1.402 Cr, G = Y − 0.344 Cb − 0.714 Cr, B = Y + 1.772 Cb.

Because the human eye sees fine detail mostly in brightness and only coarse detail in color, a low-resolution color map on top of full-resolution brightness looks sharp. It is the same trick JPEG and digital TV use (chroma subsampling). The Color intensity slider simply multiplies Cb and Cr, and Warmth shifts them toward orange or blue.

What to expect from AI colorization

SubjectTypical AI resultTip
Sky, waterReliable blues and soft gradientsLower Warmth slightly for a clearer sky
Grass, trees, foliageReliable greensRaise intensity to 120-140% for summer scenes
Faces and skinUsually natural, sometimes a little pale or orangeAdjust Warmth by ±10
Clothing, cars, painted wallsA plausible guess, often muted or brownishThe real color cannot be known from gray alone
Faded or low-contrast printsWeaker colorIncrease intensity; rescan with more contrast
Already colored photoRecolored from its gray versionUseful for faded or color-cast prints

Tips for restoring old family photos

  • Scan prints at 300 DPI (600 DPI for small wallet photos) and save the scan as PNG or high-quality JPG.
  • Crop away scanner borders and white frames first with the Image Cropper; borders can tint the edges.
  • Reduce grain or scanner noise with the Image Denoiser, and enlarge small originals with the Image Upscaler before colorizing.
  • Keep the original scan. A colorized version is an interpretation; when sharing, it is good practice to say the colors were added.

Frequently asked questions

How does AI photo colorization work?

The model is a convolutional neural network (DeOldify) trained on a large set of color photos that were converted to grayscale. It learned which colors usually go with which shapes and textures, such as blue sky, green foliage and skin tones. Given your gray photo it predicts plausible colors. This tool then keeps the brightness of your original and takes only the color (chroma) from the model, so no detail is lost.

Are the colors historically accurate?

No AI can know the real color of a dress or a car in an old photo; it predicts likely colors from patterns it has seen. Skies, foliage and skin are usually convincing, while clothing and painted objects are a best guess. Treat the result as a pleasing restoration, not as a historical record.

Is my photo uploaded to a server?

No. The AI model is downloaded to your browser and runs on your own device with ONNX Runtime Web, using WebGPU when your browser supports it and WebAssembly otherwise. The photo itself never leaves your computer or phone.

Why does the first colorization take longer?

The first time, your browser downloads the model file (about 61 MB) and prepares it. It is saved in the browser cache, so later visits colorize in a few seconds. Processing time also depends on your device; a recent laptop usually takes 2-10 seconds per photo.

What is Quick tint?

Quick tint is a simple, non-AI method that maps each gray level to a color from a hand-tint palette (dark shadows, warm skin and earth midtones, light highlights) and adds blue to bright, smooth areas near the top of the frame where sky usually is. It is instant and works offline, but it cannot recognize objects, so use the AI mode for realistic results.

What photos give the best results?

Sharp scans with good contrast work best. Scan prints at 300-600 DPI, crop away borders, and fix heavy scratches first if you can. Very faded or very dark photos colorize less convincingly; raising the color intensity a little can help.

Can I colorize a photo that already has color?

Yes. The tool converts it to black and white first and then adds new colors, which can revive a badly faded or color-cast print. The original colors are not reused.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Photo to AnimeTurn selfies and landscapes into anime-style art with AI in your browser. Free, no upload.Image UpscalerEnlarge images 2×, 3× or 4× with Lanczos-3 or bicubic resampling and optional sharpening.Image Noise RemoverRemove grain and color noise from photos with median, bilateral or non-local means filters.Grayscale Image ConverterTurn color photos into black and white with luma, luminance or average methods and sepia.Background RemoverRemove image backgrounds automatically with AI.Photo EnhancerOne-click auto enhance: fix exposure, contrast, color cast and sharpness, one photo or a batch.Remove Object from PhotoBrush over unwanted objects, people or text and fill the area with matching background.Make Image TransparentRemove a white or solid-color background and save a transparent PNG, right in your browser.Photo to CartoonTurn photos into cartoons with smooth colors and bold outlines. Free, private, no upload.Add Watermark to PhotoAdd a text or logo watermark to one or many photos at once.Blur Image & Face Pixelate ToolBlur or pixelate faces, plates and backgrounds in a photo.Pixelate Image & Pixel Art ConverterTurn any picture into pixel art with retro palettes and dithering.Add Text to ImageAdd styled text layers with outline and shadow to any photo, then downloadRound Corners ImageGive any picture rounded, circle or squircle corners and save a transparent PNG.Photo FiltersApply 27 one-click photo filters like Vintage, Noir and Teal & Orange with an intensity slider.Photo EditorEdit photos online: brightness, contrast, saturation, crop, rotate, flip and filters with undo.Image SharpenerSharpen soft or slightly blurry photos with a real unsharp mask and before/after view.Invert Image ColorsTurn any picture into a color negative, with R/G/B channel toggles and an intensity slider.Screenshot BeautifierPut screenshots on gradient backgrounds with padding, rounded corners, shadow and a browser frame.Image Metadata ViewerSee a photo's EXIF data: camera, lens, exposure, date and GPS location, then strip it in one click.EXIF RemoverRemove EXIF, GPS location and other metadata from JPG, PNG and WEBP photos.Online PaintDraw and paint in your browser: brushes, shapes, fill bucket, text, undo and PNG export.Photo to SketchTurn any photo into a pencil, charcoal or color sketch in your browser and download it.GIF Frame ExtractorSplit an animated GIF into PNG frames with delays, a sprite sheet and ZIP download.Photo Frame MakerPut photos in polaroid, film strip, gallery, rounded or shadow frames with a caption.Duotone GeneratorTurn any photo into a bold two-color duotone image with presets, custom colors and intensity.Glitch Image EffectAdd RGB split, scanlines, slice shifts and noise to a photo for a digital glitch look.Add Date Stamp to PhotoStamp the EXIF or a custom date on photos in a retro orange camera font. Batch and ZIP download.Add Drop Shadow to ImageAdd a drop, long or reflection shadow to PNGs and photos and save a transparent PNG.Add Text to GIFPut captions on animated GIFs with outline, position and frame range, then download.Blend Two ImagesOverlay two photos with opacity, 16 blend modes, fades and free positioning, then download.Blur Photo BackgroundBlur the background of any photo for a portrait-mode look. AI subject detection, no upload.Brick Mosaic GeneratorTurn a photo into a toy-brick stud mosaic with a parts list and printable build guide PDF.Online Document ScannerTurn photos of paper into clean scans: auto edge detection, perspective fix, multi-page PDF.Add Film Grain to PhotoAdd realistic analog film grain, light leaks, fade and vignette to any photo, then download.GIF Speed ChangerSpeed up or slow down an animated GIF, or set each frame's delay, without losing quality.Halftone GeneratorTurn images into mono or CMYK halftone dots and lines; export PNG or SVG.Image Dithering ToolDither photos with Floyd-Steinberg, Atkinson or Bayer in 1-bit, Game Boy, CGA and retro palettes.Old Photo Face RestorerRestore blurry and damaged faces in old photos with AI (GFPGAN) in your browser. Free, no upload.Image Opacity ChangerMake an image semi-transparent with an opacity slider or fade, and save a transparent PNG.Photo to WatercolorTurn a photo into a watercolor painting with soft washes, color bleed, wet edges and paper texture.Product Photo White BackgroundRemove the background and center products on pure white at 2000 x 2000 for marketplaces. Batch.Redact ImageBlack out or pixelate private info in screenshots; burned in, metadata stripped, PNG download.Rubber Stamp MakerDesign round or rectangular stamps with curved text, borders, stars and grunge ink; PNG or SVG.Signature Background RemoverTurn a signature photo or scan into a clean transparent PNG: threshold, ink color, auto-crop.Skin SmoothingSmooth skin in portraits with face-aware retouching that keeps eyes, lips and skin texture sharp.Straighten ImageFix a tilted photo: rotate by any angle with a grid, auto-crop the corners or level the horizon.AI Style TransferRepaint your photo in the style of any painting or pattern with AI, right in your browser.SVG EditorEdit SVG files visually: move shapes, change colors, text and strokes, add shapes, edit the code.Symmetry Drawing ToolDraw mandalas and kaleidoscope art with radial and mirror symmetry, glow brushes and PNG export.Virtual Background MakerDesign 1920×1080 video call backgrounds with your name, title, logo, blur and branded templates.EXIF EditorEdit photo EXIF and IPTC: date taken, camera, GPS location, copyright and caption, in batch.Face Symmetry TestUpload a face photo to see left-left and right-right mirror composites and a symmetry score.Sports Tactics BoardDraw plays on basketball, soccer, football and hockey diagrams with players, arrows and animated frames.Add Outline to PNGAdd a stroke outline around transparent PNG cutouts: width, color, softness and double borders.Dehaze ImageRemove haze, fog and smog from photos with the dark channel prior. Free, private, in your browser.HDR Photo EffectGive any single photo an HDR look with local tone mapping, detail boost and a strength slider.Low Light Photo EnhancerBrighten dark and night photos with an adaptive tone curve plus noise reduction.Photo StackingStack photos online: star trails (lighten), noise reduction (mean) and remove passers-by (median).Perspective CorrectionDrag 4 corners to straighten skewed photos of signs, screens and whiteboards, then download.Photo Mosaic MakerBuild a big picture out of many small photos by color matching, then export a high-res PNG.Photo to Oil PaintingTurn a photo into an oil painting with brush size, detail, impasto and canvas texture.Red Eye RemoverClick on red eyes to fix them automatically: adjustable threshold, undo, download the photo.Tilt Shift EffectMake photos look like miniature models with an adjustable tilt-shift focus band and blur.Draw on ImageAnnotate photos and screenshots with arrows, boxes, text, highlighter and numbered steps.Face Shape DetectorUpload a selfie to find your face shape on-device, with hairstyle and glasses tips.Add Background to Transparent PNGFill the transparent areas of a PNG with a color, gradient or photo, plus padding and shadow.Add Stickers to PhotoPut emoji and cute stickers on your photos; scale, rotate, flip and layer them, then save PNG.
See all 69 Photo Effects & Editing →