StripAlphaChannel | R Documentation |
Removes the last two characters from a vector of hexadecimal colors that include an alpha channel.
StripAlphaChannel(hex.colors, warning.msg = NULL)
hex.colors |
A character vector of colors in hexadeximal format. |
warning.msg |
Optional warning msg to give if alpha values were present. |
c <- c("#FFFFFFFF", "#ABCDEF3D")
StripAlphaChannel(c)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.