Fixed toCSS(), some minor Changes

Hi there,

I've had some problems with the toCSS() function, sometimes it gave me Values back like #ED5AADD553A. To fix it i've simpified the function to return a rgb(r,g,b) CSS String.

Also i've fixed some Linting Warnings.

If you like you can pull it in.