View source: R/scale_color_okabeito.R
okabeito_colors | R Documentation |
Can be used to get the hex code of specific colors from the Okabe-Ito palette.
Use okabeito_colors()
to see all available colors.
okabeito_colors(..., original_names = FALSE, black_first = FALSE, amber = TRUE)
oi_colors(..., original_names = FALSE, black_first = FALSE, amber = TRUE)
... |
Character names of colors. |
original_names |
Logical. Should the colors be named using the original
names used by Okabe and Ito (2008), such as "vermillion" ( |
black_first |
Logical. Should black be first ( |
amber |
If amber color should replace yellow in the palette. |
A character vector with color-codes.
okabeito_colors()
okabeito_colors(c("red", "light blue", "orange"))
okabeito_colors(original_names = TRUE)
okabeito_colors(black_first = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.