toDim method

Color16 toDim()

Returns the dim version of this color.

If this color is already dim, it is returned as-is.

Implementation

Color16 toDim() => isDim ? this : Color16.values[index - 8];