On-device AI — professional-grade, fully private.

Images

How to Fix a Dark or Washed-Out Photo (Histogram Equalization Explained)

Fix a dark, flat or washed-out photo: read its histogram, lift hidden shadow detail with adaptive equalization, and stop before it looks over-processed.

Updated November 25, 20267 min read

To fix a dark or washed-out photo, open Histogram Equalization, add the image, keep the Adaptive (CLAHE) algorithm, set the Clip limit to around 2 or 3 and press Equalize. Detail that was hidden in the shadows, or squeezed into a grey haze, spreads back out across the full range of tones. This guide explains what a histogram shows, why photos come out dark or flat in the first place, how equalization differs from a brightness or contrast slider, and how to stop before the result looks over-processed.

What a histogram tells you

A histogram is a bar chart of brightness. The left edge is pure black, the right edge is pure white, and the height at each point is how many pixels in the photo have that tone. It does not show what is in the picture, only how the tones are spread, and that is exactly what you need to judge exposure.

Histogram shapeWhat the photo looks likeWhat it means
Piled up on the leftDark, murky, shadows look solidUnderexposed: the detail is there, squeezed into a few dark tones
Bunched in the middle, empty at both endsFlat, grey, washed outLow contrast: no true black and no true white
Piled up on the rightPale, bleached, highlights look blankOverexposed: bright detail may already be lost
Spread from edge to edgeNormal contrastUsually nothing to fix
A tall spike at either edgeSolid black or white areasClipping: those pixels hold no detail to recover

The last row is the important limit. Equalization can only spread out tones that were recorded. If a sky is a solid block of 255 white, there is no cloud texture to bring back. A dark photo usually has much more hidden detail than a bright one, because shadows that look black are often a dozen slightly different dark tones.

Why photos come out dark or flat

Dark photos usually come from a bright area fooling the camera: a window behind a person, a lamp in the frame, a sunny sky over a shaded street. The camera exposes for the bright part and everything else drops into the shadows. Indoor shots without flash and evening scenes do the same. Flat, washed-out photos come from haze, fog, shooting through glass, a lens flare, or scans of faded prints and old documents where the ink and the paper have drifted towards the same grey.

Equalization versus brightness and contrast

A brightness slider adds the same amount to every pixel. Shadows get lighter, but so do highlights that were already fine, and the dark tones stay as close together as they were. A contrast slider pushes tones away from the middle in a fixed way, whatever the photo contains. Neither looks at where the picture's tones actually sit.

Histogram equalization does. It builds a curve from the photo's own histogram that gives each crowded range of tones more room and takes room from ranges that are nearly empty. A dark photo piled up on the left gets its shadows spread across the scale. A grey, hazy photo gets stretched out to true black and true white. You can see that curve in the Transfer curve panel: input tone across, output tone up.

The tool offers three algorithms under Algorithm. Global uses one curve for the whole image; it is the textbook version and the strongest, and a single bright window can dominate it. Adaptive (CLAHE), the default, builds a separate curve for each tile of the picture and blends smoothly between them, so a dark corner can be lifted while a well-lit sky beside it is left alone. Brightness-preserving splits the histogram at the average tone and stretches each half separately, adding contrast without making the picture brighter overall.

Fixing a dark or washed-out photo, step by step

1

Add the image

Open Histogram Equalization and drop in a JPG, PNG, WebP, GIF or BMP.

2

Choose the algorithm

Keep Adaptive (CLAHE) for photographs with mixed light. Try Brightness-preserving for a photo that is already well exposed but looks flat.

3

Set clip limit and tile size

Start the Clip limit at 2 to 3. Under Tile size, smaller tiles work more locally; around a tenth of the short edge is a good start, and % of the short edge keeps the setting consistent across images of different sizes.

4

Equalize and compare

Press Equalize, then drag the divider between Before and After across the preview. Read the Histograms and the What changed panel: Average brightness, Tonal range, Contrast and how much was Pushed to pure black or white.

5

Fine-tune and download

If the result is too strong, pull Strength down and equalize again. Choose PNG, JPEG or WebP under Format and press Download.

Adaptive, global and brightness-preserving equalization with live before and after histograms. Free: one image up to 25 MB, exported up to 4,096 px on the long edge. Pro: up to 100 images in one ZIP. Runs on your device, not our servers.

Fix a dark or flat photo

When equalization over-does it

Equalization does not know what the picture should look like; it only knows how to use the full range. Pushed too far, it produces a recognisable look: grain in the shadows turned into speckle, smooth skies broken into blotchy bands, halos where a dark object meets a bright one, and a gritty, over-cooked texture on faces.

Each fault has a control. Noise comes from tiles with little in them being stretched hard: lower the Clip limit, or reduce Histogram bins to 32 or 64 for a smoother, gentler curve. Halos and patchiness come from tiles that are too small for the subject, so increase Tile size. A photo that just looks too bright was probably already well exposed: switch to Brightness-preserving. For heavy grain, run Noise Reduction before or after.

Colour, scans and old documents

Under What gets equalized, the default Lightness changes only how light each pixel is, so hue and saturation come through untouched. That is what you want for almost every colour photo. Red, green and blue equalizes the three channels separately. It is stronger and it shifts colours, which is useful on a faded print or scan with a yellow or magenta cast, because each channel is stretched to the full range independently.

For text, choose Grayscale. It drops the colour and widens the gap between ink and paper, which makes faded writing readable and helps text recognition; the guide to extracting text from an image covers the next step. Turn on Smooth before equalizing for a grainy scan and lower the bins to 64, so the paper texture is not amplified with the writing.

Equalization fixes tone, not sharpness. If the photo is also soft or shaky, the guide to fixing blurry photos explains what can and cannot be recovered. For a quick automatic fix of exposure and colour, try Image Enhancer, and for simple manual sliders use Photo Filters.

Free and Pro

Every algorithm and control is free. Free equalizes one image at a time, up to 25 MB, and exports up to 4,096 px on the long edge. Pro takes up to 100 images with the same settings, downloaded as a single ZIP, with sizes limited only by your device. Transparency is preserved, and the image is processed on your device, never uploaded.

Frequently asked questions

How do I fix a photo that is too dark?

Open Histogram Equalization, keep Adaptive (CLAHE), set the clip limit to 2 or 3 and press Equalize. The shadows open up while bright areas stay near where they were. Lower Strength if it looks too strong.

How do I fix a washed-out or hazy photo?

A washed-out photo has no true black or white. Equalization stretches its tones back across the full range. Try Brightness-preserving to add contrast without making the picture brighter overall.

Is histogram equalization better than a brightness slider?

For dark and flat photos, usually. Brightness shifts every pixel by the same amount, while equalization reads the photo's own histogram and gives crowded tones more room, which is what brings hidden detail back.

Why does my equalized photo look grainy?

Equalization amplifies small differences, and noise is a small difference. Lower the clip limit, reduce the histogram bins to 32 or 64, or turn on Smooth before equalizing.

Will equalization change the colours of my photo?

Not with the default Lightness setting, which changes only how light each pixel is. Red, green and blue equalizes each channel separately and does shift colours, which helps remove a colour cast from a scan.

Can it recover a sky that is completely white?

No. Areas pushed to pure white or black hold no detail to spread out. Equalization recovers tones that were recorded but crowded together, which is why dark photos usually respond better than overexposed ones.

Keep reading

More in Images →