This function only exists to avoid importing the viridis package.
viridisPalette(x)
x
The number of colors you want (seven at most).
A vector of colours.