There is one adjustment that can do the work of brightness, contrast, exposure, black point, white point and most color correction, all at once, and it looks like a diagonal line in a box. People avoid it because it looks technical. It is actually the simplest tool in the room once you know what the line means.
What the line is
The box is a map. The horizontal axis is the brightness a pixel has now, from black on the left to white on the right. The vertical axis is the brightness it will have when you are finished, black at the bottom, white at the top.
The diagonal line is the default map: whatever comes in, goes out unchanged. A pixel at 40 per cent brightness enters at 40 along the bottom, meets the line, and leaves at 40 up the side.
Every edit is the same gesture: you drag a point on that line, and you are saying “pixels that were this bright should now be that bright”. Drag the middle upward and the mid-tones get lighter. Drag it down and they get darker. That is the whole tool.
The histogram behind it
Behind the line sits a chart of how many pixels there are at each brightness. Dark pixels pile up on the left, bright ones on the right. It is not a quality score and there is no correct shape, but it tells you two useful things.
First, where the data actually stops. If the graph runs out well before the right edge, there is nothing in the picture as bright as white, which is why it looks flat and gray. Second, whether anything is clipped: a hard spike jammed against either edge means pixels that have been crushed to pure black or blown to pure white, and there is no detail left in them to recover.
Move one: set the ends
Before shaping anything, fix the range. Take the point at the bottom left of the line and slide it right until it sits where the histogram data begins. Take the top right point and slide it left to where the data ends.
You have just told the image that its darkest real pixel is black and its brightest real pixel is white. Contrast appears immediately, and it is honest contrast, because nothing was invented; the tones were simply stretched to fill the space they had.
This one move fixes the majority of flat photographs, particularly anything shot through glass, in haze, or with a cheap lens flaring slightly.
Move two: the S
Now add two points on the line: one at about a quarter along, one at about three quarters. Pull the lower one down slightly and the upper one up slightly. The line becomes a gentle S.
What you have done is increase the slope in the middle and decrease it at the ends. Steeper slope means a bigger output difference for the same input difference, so mid-tones separate more: more contrast where the subject usually lives. Flatter slope at the ends means highlights and shadows compress gently rather than clipping.
This is what film did chemically, and it is why an S curve makes almost any digital photograph look more like a photograph and less like a scan. Keep it subtle. If you can see the S clearly from across the room, it is too strong.
The inverse S
Flip it, pulling the quarter point up and the three quarter point down, and you get the opposite: a soft, low contrast, misty look. It is the basis of most faded and matte film effects, and combined with lifting the very bottom left point off the floor, which stops anything from being truly black, it produces that washed print quality in about five seconds.
Move three: fix a color cast per channel
This is where curves stop being a contrast tool and start replacing color correction entirely. Instead of adjusting all three channels together, switch to red, green or blue on its own.
The logic is simple: pulling a channel up adds that color, pushing it down adds its opposite. Red down adds cyan, green down adds magenta, blue down adds yellow. And because you can do this at a specific point on the line, you can add warmth to the highlights while leaving the shadows alone.
That last part is the whole of split toning, which sounds like an advanced technique and is really just two small drags: blue up slightly in the shadows, blue down slightly in the highlights, and you have cool shadows against warm light. Almost every cinematic look you have ever admired is some version of this.
Removing a cast the reliable way
If a photo is too yellow overall, find something in it that ought to be neutral gray or white: a wall, a shirt, paper. Sample it and read the three channel values. Whichever is highest is the cast. Pull that channel down at the mid-point until the three values roughly match, and the cast disappears without touching the rest of the picture.
Brightness moves everything. Curves let you move one part of the range and leave the rest alone. That distinction is the entire reason the tool exists.
Where curves live
In most editors curves sit near levels, which is the same idea with a simpler interface: levels give you three handles, curves give you as many as you want. If you are working in the browser, the editor described elsewhere on this site keeps both under the image menu, alongside the automatic versions and support for loading a color lookup file, which is a curve someone else already built.
Two habits worth building
Work on an adjustment layer, not on the picture. A curve applied directly bakes the change in. Applied as a layer above, it stays editable forever, it can be masked so it only affects part of the frame, and its strength can be reduced afterwards by lowering opacity. That last trick is the easiest way to get a subtle result: make the curve too strong on purpose, then dial the layer back to sixty per cent.
Check the ends when you finish. Any curve that steepens the middle will push some pixels off the top or bottom. Look at the brightest highlight and the deepest shadow in the picture and make sure something is still there. Detail you clip is gone permanently, and the eye notices missing texture in a sky long before it notices anything else.
Practice on something bad
Find a photograph you have written off: underexposed, gray, color slightly wrong. Set the black and white points. Add a gentle S. Check the channels for a cast. It takes under a minute and the result will surprise you often enough to make the habit stick.
Curves are not an advanced tool. They are the basic tool, wearing a slightly intimidating costume.