Images and Photos

Curves and Levels Explained: Fix Flat, Dark or Tinted Photos

Learn how levels and tone curves work, how to read a histogram, when to use auto levels and how to build S-curves and film looks in your browser.

Saizul Amin
Saizul Amin28 Oct 2026 · 4 min read
Curves and Levels Explained: Fix Flat, Dark or Tinted Photos

Curves and Levels Explained: Fix Flat, Dark or Tinted Photos

Most photos that look "off" are not out of focus or badly composed. They are simply flat, too dark or tinted by the light. Two classic tools fix almost all of these problems: levels and curves. They have been in photo software for decades because they work on the most basic property of a picture, the brightness of each tone. The Curves and Levels Editor brings both into the browser, with the histogram behind the curve so you can see what you are doing.

Start with the histogram

A histogram is a bar chart of how many pixels have each brightness, from pure black on the left to pure white on the right. A well-exposed daylight scene usually spreads across most of the width. A flat, hazy photo bunches up in the middle, with empty space at both ends. A dark photo crowds the left side. A tall spike against either edge means detail has been clipped to pure black or pure white and cannot be recovered.

Reading the histogram before you touch a slider saves time. If the right side is empty, the photo never reaches white, so moving the white point inwards will brighten it without clipping anything.

What levels do

Levels have three input controls. The black point says which input value should become pure black, the white point which value should become pure white, and the midtone gamma bends the tones in between. Moving the black point from 0 to 18 and the white point from 255 to 231 stretches the tones the photo actually uses across the full range, which instantly adds contrast. The output black and white controls do the opposite, compressing the range for a softer, printed or faded look.

What curves add

A curve is a graph that maps every input brightness to an output brightness. A straight diagonal line changes nothing. Pull the middle up and the photo brightens without moving black or white. The most useful shape is the S-curve: a point in the shadows pulled down a little and a point in the highlights pushed up a little. It adds contrast in the midtones, where faces and most detail live, while keeping the ends under control.

Other useful shapes:

  • Lifting the left end of the curve (input 0 to output 30) creates the matte, faded-blacks look common in lifestyle photos.
  • Lowering the right end keeps highlights from looking harsh on screens.
  • Bending a single colour channel corrects a cast: a little less blue in the midtones warms a cold photo.

The editor uses a monotone curve, which never swings past the points you set. That avoids the bands and colour shifts that ordinary splines can cause when two points are close together.

Auto levels and when to trust it

Auto levels looks at each colour channel separately, ignores a tiny share of the darkest and brightest pixels, and stretches the rest to full range. Because each channel is stretched on its own, it also neutralises many colour casts. It works well for hazy landscapes, scans of old prints and indoor photos. It can go wrong on scenes that should be dominated by one colour, such as a sunset or a misty blue morning, because it will try to balance them. In that case, set the clip percentage to zero or reduce the correction with a curve afterwards.

A practical routine

  1. Load the photo and look at the histogram behind the RGB curve.
  2. Press Auto and compare with the original using the before and after view.
  3. If it looks right but flat, apply the soft S-curve preset.
  4. Fix any remaining cast with a small move on one colour curve.
  5. Save the settings as a preset if you will edit more photos from the same shoot.
  6. Export as JPG for sharing or PNG for further editing.

Working with a batch

Photos shot in the same place and light usually need the same correction. Load them all, tune one, and export the whole set as a ZIP. Each file is rendered at its full resolution, so the batch is ready for print or publishing.

Common mistakes

The most common mistake is too much contrast. A curve that looks punchy on a phone screen can make skin look orange and skies look posterised. Check skin, sky and white objects at the end. Another mistake is editing a photo that has already been heavily compressed: strong curves reveal JPEG blocks in smooth areas. Work from the best copy of the file you have.

Limits

Curves and levels work on the eight-bit image the browser decodes, so they are ideal for JPG, PNG and WebP photos but are not a replacement for adjusting a camera raw file. The editor runs on your device and does not upload your photos.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages