isColor: detect valid R color

isColorR Documentation

detect valid R color

Description

detect valid R color

Usage

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.

See Also

Other jam color functions: alpha2col(), applyCLrange(), col2alpha(), col2hcl(), col2hsl(), col2hsv(), color2gradient(), fixYellowHue(), fixYellow(), getColorRamp(), hcl2col(), hsl2col(), hsv2col(), kable_coloring(), makeColorDarker(), make_html_styles(), make_styles(), rgb2col(), setCLranges(), setTextContrastColor(), showColors(), unalpha(), warpRamp()


jmw86069/jamba documentation built on March 26, 2024, 5:26 a.m.