Skip to contents

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

Usage

pal_viridis_mix(n)

Arguments

n

The number of colours (excluding an NA colour).

Value

A character vector of hex codes.

Examples

scales::show_col(pal_viridis_mix(9))