|
From: | Asger Ottar Alstrup |
Subject: | Re: [Monotone-devel] Re: New release of monotone-viz |
Date: | Mon, 13 Dec 2004 09:55:06 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Olivier Andrieu wrote:
Yeah, I tried picking colors in HLS space (Hue, Lightness, Saturation) based on a hash. It gives adequate colors but with a dozen keys you're quite likely to get two colors with a similar hue, so I'd like to try something less "random".
Quantitize your color-space. Use only 8 different hues, 4 different saturations and 16 lightness values for a total of 512 different colors. If you still get too similar colours, reduce the number of colors even more.
Regards, Asger Ottar Alstrup
[Prev in Thread] | Current Thread | [Next in Thread] |