🌙 Checks if a color is dark based on its relative luminance.
Syntax
import { colorIsDark } from '@opentf/std';
colorIsDark(input: any): booleanReturns true if the luminance is less than 0.5.
Examples
colorIsDark('black'); //=> true
colorIsDark('white'); //=> false
colorIsDark('navy'); //=> true