gpuPalette | R Documentation |
A couple of color palettes including our inSileco palette and a couple of other inspired by popular websites.
gpuPalette(id, ncolors)
id |
either an integer or a character string matching the names of the desired color palette(s). If missing then color palettes available are prompted. |
ncolors |
An integer giving the number of colors to be returned. If
greater than the number of colors included in the selection, then
' |
A vector of character strings of the hexadecimal colors values. Note that if several color palette is requested, then the output is a vector with all color palette concatenated.
showPalette(gpuPalette(c('atom', 'cisl'))) showPalette(gpuPalette('cisl', 100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.