This color filter can be used to darken colors. This color filter maps colors into a grayscale with optional inversion. This filter inverts the RGB values of colors. The filter function can be redefined by derived classes. The default implementation returns its argument.
Parameters int factor Darkening factor.
A factor greater than 100 produces a darker color, a factor smaller than 100 produces a brighter color. Darkens or brightens a specified color. Inverts the RGB values of a specified color.