A function to retreive a vector of hex codes for a numeric (or ordererd) variable.

pal_viridis_mix(n)

Arguments

n

The number of colours (excluding an NA colour).

Value

A character vector of hex codes.