in reply to Re^3: Coloring IRC logs nicely
in thread Coloring IRC logs nicely

This will ensure that the first 3 nicks get a good contrast between the colors, then the next 3 get the second-best level of contrast ad infinitum.

Yes, that's no problem. But: The first nicks are not necessarily the most active nicks, example:

To work around that, the nicks would have to be sorted for activeness -- and to do that, we'd need knowledge of all further nicks. And then, we could just use my first algorithm.