Appearance
function isLight(hex): boolean;
Returns true if the hex color is perceptually light (luminance > 0.5).
true
hex
string
boolean
isLight('#ffffff') // => true isLight('#000000') // => false
1.0.0