R/utils.R
is_colour.Rd
Checks whether a string is a valid colour representation.
is_colour(x)
a string
a boolean
if (FALSE) { # \dontrun{ is_colour("red") is_colour("#12345") } # }