Generating random yet good-looking, different colors?
<p>Is there any well-known method for generating random, good looking and yet distinctive colors? I've worked with this before, and managed to generate colors at random. However, either they had a great chance of turning out "ugly" (yellow-ish brown, green-ish gray and others), or they turned out to be almost the same.</p>

<p>Now, as for measuring if two colors are almost the same, it's quite easy to just take the color channels and compare the differences between them.</p>

<p>I suspect that I will always need to generate between 1 and 15 colors.</p>

<p><strong>Edit</strong> It's for some graphing stuff I am making in JavaScript. That may help you understand why I am in need of this.</p>
