This function only exists to avoid importing the viridis package.

viridisPalette(x)

Arguments

x

The number of colors you want (seven at most).

Value

A vector of colours.