View source: R/color-palettes.R
print.palette | R Documentation |
Print a color palette
## S3 method for class 'palette'
print(palette, border = "light gray", ...)
border |
Color for the cell borders |
... |
|
pal |
A vector of character hex RGB values |
black_and_white <- c("#000000", "#FFFFFF")
print.palette(black_and_white)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.