Check if a string vector is in hexadecimal color format
Examples
x <- c("#f0f0f0", "#FFf", "#99990000", "#00FFFFFF")
is.hexcolor(x)
#> [1] TRUE TRUE TRUE TRUE
Check if a string vector is in hexadecimal color format
x <- c("#f0f0f0", "#FFf", "#99990000", "#00FFFFFF")
is.hexcolor(x)
#> [1] TRUE TRUE TRUE TRUE