function string_to_color(str,options){this.hash=function(str){var h=0;for(var i=0;i<str.length;i++)h=str.charCodeAt(i)+((h<<5)-h);return h};this.shade=function(color,percent){var num=parseInt(color,16),amt=Math.round(2.55*percent),R=(num>>16)+amt,G=(num>>8&255)+amt,B=(num&255)+amt;return(16777216+(R<255?R<1?0:R:255)*65536+(G<255?G<1?0:G:255)*256+(B<255?B<1?0:B:255)).toString(16).slice(1)};this.int_to_rgba=function(i){var color=(i>>24&255).toString(16)+(i>>16&255).toString(16)+(i>>8&255).toString(16)+
(i&255).toString(16);return color};return this.shade(this.int_to_rgba(this.hash(str)),-10)};
function string_to_color(str,options){this.hash=function(word){var h=0;for(var i=0;i<word.length;i++)h=word.charCodeAt(i)+((h<<5)-h);return h};this.shade=function(color,prc){var num=parseInt(color,16),amt=Math.round(2.55*prc),R=(num>>16)+amt,G=(num>>8&255)+amt,B=(num&255)+amt;return(16777216+(R<255?R<1?0:R:255)*65536+(G<255?G<1?0:G:255)*256+(B<255?B<1?0:B:255)).toString(16).slice(1)};this.int_to_rgba=function(i){var color=(i>>24&255).toString(16)+(i>>16&255).toString(16)+(i>>8&255).toString(16)+(i&
255).toString(16);return color};return this.shade(this.int_to_rgba(this.hash(str)),-10)};
Clean up, Clean up, Clean up!
Clean up, Clean up, Clean up!
