I was wondering if there’s a way to create a list of discernable colors on the fly. e.g. If I want to draw a TMultiGraph with 30 graphs on it and I want to make sure they will be discernable, I would need a simple way of generating 30 discenable colors on the fly (but I don’t care which colors they are).
Does such a thing exist?
Yeah, but the colors on the color wheel are not numbered in a particular order (shades are, but not colors) so the only way I can write a distinct color list is by creating my own array of colors that I selected:
int cols[30] = {kBlue, kRed, kGreen, kBlue+5, etc'};
The first 50 colors are not really distinct (the first 10 are though).