sphsu_cols | R Documentation |
This function allows you to select a colour or a vector of colours by name, or to specify a 'main' or 'more' subset.
sphsu_cols(..., subset = "all", names = TRUE)
... |
Character. Colour names separated by commas. Left blank this will return all colours in subset. |
subset |
Character. "all", "main" or "more" can be called (this only needs used in place of colour names above). |
names |
Logical. If passing directly to scale_manual then set this as |
The names of the standard Social and Public Health Sciences Unit colours can be passed as arguments to return a named vector of corresponding hex strings.
A named vector containing the hex codes of all requested colours.
Andy Baxter a.baxter.1@research.gla.ac.uk
sphsu_cols()
sphsu_cols("University Blue", "Leaf", "Moss")
sphsu_cols(subset = "main")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.