Skip to contents

Return an array of n colors the same as the default used by ggplot2

Usage

ggColorHue(n)

Arguments

n

number of colors

Value

array of colors of length n

Examples

ggColorHue(4)
#> [1] "#F8766D" "#7CAE00" "#00BFC4" "#C77CFF"