I thought I'd write down the color palette I use for categories. I've seen many discussions about gradient color choices, but category colors are less often discussed. I have a function given below which generates colors where there is not meant to be an ordering to the color. It is important when data points are near, that they are easy to distinguish with the eye. It makes more sense to see it:
Here's the function:
Here's a comparison of the function (top) and the built-in rainbow function (bottom) which serves the same purpose.
Here's the function:
Here's a comparison of the function (top) and the built-in rainbow function (bottom) which serves the same purpose.