put encodeURIComponent back

The #'s in color values wreck things otherwise
Closes PR #1