powered by
Check if a color is light
is_light_color(color)
Logical indicating if the color is light
A hex color string or color name
is_light_color("#FFFFFF") is_light_color("#000000")
Run the code above in your browser using DataLab