profinit_cols | R Documentation |
This function provides an access to standardized Profinit colors hex codes.
profinit_cols(..., named = FALSE)
... |
Either character name(s) or order of Profinit colors. Leave empty for the full color set. |
named |
Flag whether to produce named vector of profinit colours.
Defautls to |
Named character vector the same length as input params.
# to get Profinit red hexcode
profinit_cols("red")
# to get Profinit red and gray hexcodes
profinit_cols("red", "grey")
# to get the first Profinit color
profinit_cols(1)
# to get all Profinit colors
profinit_cols()
scales::show_col(profinit_cols())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.