Hi all,
Here's my situation. Say I have two columns of data containing different elements. I'd like to highlight with a different color, all matching elements between those two columns. Each of those elements has an ID, so I was thinking of creating a mapping function to tie an ID to a hex color. Any suggestions?
This is what I was thinking: Add an arbitrary number, say 111, to each hex number to generate the new color (and mod it take care of overflow)... so 111*id + Starting hex number.
Is this reasonable? Does anyone have a suggestion for the 111 so that the colors are diverse early on, but don't mod to the same value that quickly? Say I'd like 50 unique colors, as diverse as possible.
Thanks,
Michael