Access HEX codes of colours that have been interpolated between those used in the EastBIO logo.
Usage
ebio_colours_n(
n,
colours = ebio_colours(),
bias = 1,
space = "Lab",
interpolate = "linear",
alpha = FALSE,
...
)
Arguments
- n
The number of colours to return.
- colours
The colours to interpolate between. By default these are set to the colours from the EastBIO logo.
- bias
A positive number. Higher values will give more widely spaced colours at the higher end of the colour spectrum.
- space
A character string indicating whether the colours should be interpolated in RGB or CIE Lab colour spaces.
- interpolate
A character indicating whether a spline or linear interpolation method should be used.
- alpha
A logical value indicating whether an alpha channel should be returned.
- ...
Arguments to be passed to
grDevices::colorRampPalette
.
See also
Other Palettes:
cgem_colours_n()
,
cgem_colours()
,
cruk_colours_n()
,
cruk_colours()
,
ebio_colours()
,
ukri_blues_n()
,
ukri_blues()
,
ukri_purples_n()
,
ukri_purples()
Examples
barplot(
1:6,
col = ebio_colours_n(5)
)