Skip to contents

Check if a color is light

Usage

is_light_color(color)

Arguments

color

A hex color string or color name

Value

Logical indicating if the color is light

Examples

is_light_color("#FFFFFF")
#> [1] TRUE
is_light_color("#000000")
#> [1] FALSE