Palette of evenly distributed colors

Share:

Description

This function generates a vector of n colors evenly distributed in the RGB space. Usefull to create palettes of distinct colors.

Usage

1

Arguments

n

the number of colors to be in the palette.

Value

a vector of hexadecimal colors.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.