Color ramps are determined by a perceptual lightness value. When the filter is active, only colors with a L* value that matches one of the ramps will be displayed.