detect valid R color

isColor(x, makeNamesFunc = c, ...)

Arguments

x

character vector of potential R colors

makeNamesFunc

function used to make names for the resulting vector

...

additional parameters are ignored

Details

This function determines whether each element in a vector is a valid R color, based upon the R color names, valid hex color format, and the word "transparent" which is valid as an R color.