Javascript String color(seed)
String.prototype.color = function (seed) { var hash = this.getHashCode(); var color = hash.intToHSL(); return color;/*from ww w. j av a 2s.c o m*/ };