Levels

Provides controls to remap the white and black points of an image, with a gamma control to adjust midtones, all at once. A histogram provides an analysis of the image to help you judge the adjustments to make.

A powerful option in this filter is the ability to make independent adjustments to the red, green, blue, and alpha channels of a layer.

Adjust this filter using the parameter controls in the Filters Inspector: