Haunter gets a new color

This commit is contained in:
Guangcong Luo
2013-02-15 15:20:54 -08:00
parent 4a6b10bd96
commit 61a6bc5680

View File

@@ -108,6 +108,7 @@ function hashColor(name) {
if (name === 'mikedecishere') hash = MD5('aoswmike');
if (name === 'heartsonfire') hash = MD5('haatsuonfaiyaa');
if (name === 'limi') hash = MD5('azure2');
if (name === 'haunter') hash = MD5('cathy');
if (name === 'cathy') return colorCache[name] = 'color:#ff5cb6;';
var H = parseInt(hash.substr(4, 4), 16) % 360;
var S = parseInt(hash.substr(0, 4), 16) % 50 + 50;