For generating attractive random colors, randomColor is a tiny and effective script. The focus of this tool is to generate plenty of random colors; the featured hues are bright and have high saturation.
There are some fun extras here too that allow you to create a colors based on a monotone concept, as light or dark colors, with grays or as a truly random color set.
The options you can control include hue, luminosity, count (number of colors to generate), seed and format.
The script is available minified on cdnjs; it is also distributed on NPM and Bower.