col2alpha | R Documentation |
Return the alpha transparency per R color
col2alpha(x, maxValue = 1, ...)
x |
R compatible color, either a color name, or hex value, or
a mixture of the two. Any value compatible with |
maxValue |
numeric maximum value to return, useful when the downstream alpha range should be 255. By default maxValue=1 is returned. |
Other jam color functions:
alpha2col()
,
applyCLrange()
,
col2hcl()
,
col2hsl()
,
col2hsv()
,
color2gradient()
,
fixYellowHue()
,
fixYellow()
,
getColorRamp()
,
hcl2col()
,
hsl2col()
,
hsv2col()
,
isColor()
,
kable_coloring()
,
makeColorDarker()
,
make_html_styles()
,
make_styles()
,
rgb2col()
,
setCLranges()
,
setTextContrastColor()
,
showColors()
,
unalpha()
,
warpRamp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.