isColorBright

Determines if a color is bright (light) or dark based on its luminance.

Return

true if the color is bright (light), false if dark

Parameters

color

The color to check