Judge if a characteristic is Rcolor

is.ggplot.color(color)

Arguments

color

characteristic

Value

TRUE or FALSE

Examples

is.ggplot.color("red")
#> [1] TRUE
is.ggplot.color("notcolor")
#> [1] FALSE
is.ggplot.color(NA)
#> [1] TRUE
is.ggplot.color("#000")
#> [1] FALSE