more_colours.Rd
Expand a series of colours by interpolation to produce any
number of colours from a given series. The pattern of interpolation is
designed so that (n+1)th value contains the nth value plus one more colour,
rather than being a completely different series. For example, running
more_colours(5)
and more_colours(4)
, the first 4 colours will
be shared between the two series.
more_colours(n = 5, raw_cols = col_hot_cold())
n | how many colours to return |
---|---|
raw_cols | vector of colours to interpolate |