added support for IE8,9

also added hsl2rgb, str2hex, hex2rgb methods