This tool automatically stretches the contrast for all three channels. It does so within HSV color space thus preserving hue.
For each channel in the image, the tool finds the maximum and minimum values and stretches the histograms for each channel to the full contrast range.