Makes a discrete colour palette of length n
from the chosen technocolour palette.
technocolours(palette, n, interpolate = TRUE)
The name of the chosen palette. Choices are from: "bodied"
, "esther"
, "hotbot"
, "ibrik"
, "poodle"
, "rush"
, "x"
.
The integer length of the desired palette. Default value is the length of the specified palette.
Boolean. Indicates whether sequential or diverging palettes should interpolate between colours; this argument is not available for qualitative palettes. Default value is TRUE.
A vector of colours.
technocolours(palette = "rush", n = 6)
#> [1] "#874F92" "#F094BA" "#FFC561" "#91B356" "#5996C5" "#CD543C"
#> attr(,"class")
#> [1] "palette"
#> attr(,"name")
#> [1] "rush"