Javascript: generate random nice saturated colors (selected palette)
<p>i saw a lot of Js example but none fit my needs:</p>

<p>I'd like to have a script to generate colros, but if I use the common solution</p>

<pre><code>color =  '#'+Math.floor(Math.random()*16777215).toString(16);
</code></pre>

<p>it generates pastel colors, where I'd like better more saturated colors...or more ambitious, how can i select the palette form which i pick the colors?</p>

<p>how can I "restrict" the randomness?</p>
