Skip to contents

An eight-color colorblind friendly qualitative discrete palette that is based on colors on the Duke branding guidelines.

Usage

duke_pal()

Value

Character vector of Duke palette HEX codes.

References

https://brand.duke.edu/colors/

Examples

duke_pal()
#> function (n) 
#> {
#>     n_values <- length(values)
#>     if (n > n_values) {
#>         cli::cli_warn("This manual palette can handle a maximum of {n_values} values. You have supplied {n}")
#>     }
#>     unname(values[seq_len(n)])
#> }
#> <bytecode: 0x5561f842a470>
#> <environment: 0x5561f8429910>
#> attr(,"max_n")
#> [1] 8