Palette Generating Function For CGEM Colours
Source:R/colour_palettes.R
cgem_colours_palette_func_gen.Rd
Palette Generating Function For CGEM Colours
Usage
cgem_colours_palette_func_gen(
colours = cgem_colours(),
bias = 1,
space = "Lab",
interpolate = "linear",
alpha = FALSE,
...
)
Arguments
- colours
The colours to interpolate between. By default these are set to the blues from the UKRI 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 Helper Functions:
cruk_colours_palette_func_gen()
,
ebio_colours_palette_func_gen()
,
ukri_blues_palette_func_gen()
,
ukri_purples_palette_func_gen()