distinctColorPalette: Generate optimally distinct color palettes
Description
distinctColorPalette
generates an attractive palette of random colors.
Usage
distinctColorPalette(count = 1, seed = NULL, darken = 0)
Value
distinctColorPalette
returns a character vector of count
optimally distinct colors in hexadecimal codes.
Arguments
- count
Integer, number of colors (>= 1). May be ineffective for count > 40.
- seed
Integer, seed number to produce repeatable palettes.
- darken
Numeric specifying the amount of darkening applied to the color palette. See colorspace::darken.
Negative values will lighten the palette.