Generate a distinct palette for coloring different clusters
distinct_colors(n, hues = c("red", "cyan", "orange", "blue", "yellow",
"purple", "green", "magenta"), saturation.range = c(0.4, 1),
value.range = c(0.4, 1))
Integer; Number of colors to generate
Character vector of R colors available from the colors() function. These will be used as the base colors for the clustering scheme. Different saturations and values (i.e. darkness) will be generated for each hue.
Numeric vector of length 2 with values between 0 and 1. Default: c(0.25, 1)
Numeric vector of length 2 with values between 0 and 1. Default: c(0.5, 1)
A vector of distinct colors that have been converted to HEX from HSV.