Add support for hex color values in color functions

- Adds support for hex values in color functions when the values are formatted as '#rrggbb' or 'rrggbb'
- Adds unit tests for getNormalizedColor

TODO:

- Support '#rgb'- and 'rgb'-formatted colors
- Figure out why unit tests won't run or pass

(for #222, 'Support hex color strings in color functions')