Colour palette generation from matrix of RGB values
Integer number of colorus to produce.
A numeric matrix
of three columns (R,G,B) to generate colour palette from.
A vector of n colours in hexadecimal RGB format.
mcolors(5)
#> [1] "#0000FF" "#8080FF" "#FFFFFF" "#FF8080" "#FF0000"