grayscale

Returns the 'grayscale' version of a 24-bit color.


Replaces all colors in ColorContainer.colors with a grayscaled version of themselves.

Return

This ColorContainer instance


Replaces the colors at the specified indices with a grayscaled version of themselves.

Return

This ColorContainer instance


Replaces the colors at the indices in the specified ranges with a grayscaled version of themselves.

Return

This ColorContainer instance