View source: R/colors_camp_rio.R
| camp_rio_palette_ramp | R Documentation |
Camp RIO palettes with ramped colors
camp_rio_palette_ramp(palette = "div", alpha = 1, reverse = FALSE, year = 2022)
palette |
Choose from 'camp_rio_palettes' list |
alpha |
transparency from 0 (completely transparent) to 1 (completely opaque) |
reverse |
If 'TRUE“, the direction of the color ramp is reversed. |
year |
Defaults to the most recent branding guidelines (year = 2022) |
a function that takes the number of colors needed as an argument
library(scales)
show_col(camp_rio_palette_ramp()(10))
filled.contour(volcano,color.palette = camp_rio_palette_ramp(), asp=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.