okabeito_colors {see} | R Documentation |
Extract Okabe-Ito colors as hex codes
Description
Can be used to get the hex code of specific colors from the Okabe-Ito palette.
Use okabeito_colors()
to see all available colors.
Usage
okabeito_colors(..., original_names = FALSE, black_first = FALSE, amber = TRUE)
oi_colors(..., original_names = FALSE, black_first = FALSE, amber = TRUE)
Arguments
... |
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. |
Value
A character vector with color-codes.
Examples
okabeito_colors()
okabeito_colors(c("red", "light blue", "orange"))
okabeito_colors(original_names = TRUE)
okabeito_colors(black_first = TRUE)
[Package see version 0.8.5 Index]