Skin colour tweaks

This commit is contained in:
Toby Zerner
2015-05-02 08:29:43 +09:30
parent ec343cb442
commit e4a880c4f4
6 changed files with 26 additions and 25 deletions

View File

@ -29,6 +29,6 @@ export default function stringToColor(string) {
num += string.charCodeAt(i);
}
var hue = num % 360;
var rgb = hsvToRgb(hue / 360, 0.4, 0.9);
var rgb = hsvToRgb(hue / 360, 0.3, 0.9);
return ''+rgb.r.toString(16)+rgb.g.toString(16)+rgb.b.toString(16);
};