I need to assign colors to distinguish between different elements. A simple case: order strings of different colors according to the client.
I do not want the user to select a color for each client, I want to do this at runtime.
If there is one client, I will use "red", if there are two "red" and "white", ...
Of course, I can create my own function GimmeRandomColour(i: index) , which uses the i and RGB functions to create nice random colors (but in this case, creating nice colors can be tricky). Or I can say that if i is 0, give me clRed, ... (so making many colors can be a problem).
How can I get a βnice list of colorsβ with acceptable levels of contrast?
Labracca
source share