function _getColor($num) { $hash = md5('color' . $num * 2); return hexdec(substr($hash, 0, 2)) . ',' . hexdec(substr($hash, 2, 2)) . ',' . hexdec(substr($hash, 4, 2)); }