This is a helper function that supports the creation of color palettes for all plotting functions.
Useful links