Skip to contents

Provides the TAM package's primary color palette as a vector of hex codes and a convenience function for generating interpolated palettes.

Usage

tam_cols()

tam_pal(n)

Arguments

n

Number of colors to generate.

Value

  • tam_cols() returns a character vector of hex color codes.

  • tam_pal(n) returns a character vector of length n created by linearly interpolating between the base palette colors.

Examples

tam_cols()
#> [1] "#003e56" "#028f8d" "#93c25c" "#fec124" "#ffa31d" "#fe8427" "#f05c28"
tam_pal(3)
#> [1] "#003E56" "#FEC124" "#F05C28"