Skip to contents

This function will create a lovely, evenly spaced colour palette.

Usage

cs_BuYlRd(n)

Arguments

n

The number of colours of blue to red to return.

Value

A character vector of hexadecimal values.

Author

Bernard Gentili

Examples

cs_BuYlRd(10)
#>  [1] "#313695" "#4A7BB7" "#80B7D6" "#BDE2EE" "#EEF8DF" "#FEEEA5" "#FDBF71"
#>  [8] "#F67B4A" "#DA372A" "#A50026"