gouv_colors() directly gives the colors as hex codes.

gouv_colors(...)

Arguments

...

The color you want, by code - from "a0" to "r4" or "bleu_france", "blanc", "rouge_marianne".

Value

A named vector of character strings. Each value represents the requested hex code.

Examples

gouv_colors("a1")
#>        a1 
#> "#958B62"