The Levels command, and its cohort the histogram, let you adjust luminance levels on a channel-by-channel basis. The upshot is that you can increase contrast, correct for color cast, and make a bad image good.