Skip to contents

Access the DeGAUSS color palette

Usage

degauss_colors(n)

Arguments

n

which DeGAUSS color(s): 1-darkblue, 2-lightblue, 3-pink, 4-lightgrey, 5-purple, 6-teal)

Value

a named character string or vector of named character strings containing RGB colors in hexadecimal

Examples

degauss_colors(2)
#> [1] "#469FC2"
degauss_colors(1:4)
#> [1] "#072B67" "#469FC2" "#C2326B" "#E0E5E7"
plot(1:6, rep(1, 6), col = degauss_colors(1:6), pch = 19, cex = 10)