This tool is designed to intelligently weigh the pixel colors of the selection or active layer and reduce the number of colors while maintaining a semblance of the original image characteristics.
This slider and the input boxes with arrow-heads allow you to set the number of colors that the tool will use to describe the active layer or selection. This number does not include black and white.
The Preview button makes all changes dynamically so that they can be viewed straight away.