Add ability to instantiate colour by HEX code
Catch an exception when the field does not exist on line 97 and decode the HEX in the catch to assign a colour.
This enables both human selection of readable colours and the definition by a colour selector in HTML.