I am trying to construct a color palette to disambiguate a large number of stacked bars. When I use any of the discrete color palettes (e.g. muted
), the colors repeat, and when I use any of the continuous color maps (e.g. cubehelix
) the colors run together.
I need a color palette containing a large number of distinct non-contiguous colors. I think this can be achieved be taking an existing continuous color palette and permuting the colors, however I don't know how to do this, and despite much googling have not been able to figure out how to define a custom color palette.
Any help is much appreciated.