toBright method

Color16 toBright()

Returns the bright version of this color.

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

Implementation

Color16 toBright() => isBright ? this : Color16.values[index + 8];