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