Manipulating SVGs as Data URLs

This is a work in progress draft post, which I intend to update with tidbits I need to remember as I go.

When adding a colour with hex code

A hex code like #f76f00 becomes %23f76f00, the %23 is an escaped hashtag.