put encodeURIComponent back

The #'s in color values wreck things otherwise