Skip to contents

Helper function to retrieve an arbitrary number of AU brand colors by name. Returns a named vector containing the color name(s) as passed into the function, and the corresponding AU hex code(s).

Usage

au_colors(...)

Arguments

...

Name(s) of color(s) to be used. Valid color names: blue, darkblue, purple, darkpurple, cyan, darkcyan, turkis, darkturkis, green, darkgreen, yellow, darkyellow, orange, darkorange, red, darkred, magenta, darkmagenta, grey, darkgrey, white, trxred, trxlightred, trxblue, trxlightblue, trxyellow, trxpalegreen.

Value

A named vector with the chosen colors and their corresponding hex codes.

Details

Implementation is based on the official brand guidelines.

Examples

au_colors("red", "blue")
#>       red      blue 
#> "#e2001a" "#003d73"