format detection for base_color

Saw #15 and thought to take a pass at it.

Added a function parseBaseColor to detect the format of the base_color value. First tries to find it as a key in color_data, then checks if it's an integer (for 0x literals), then tries to parse it as a string using the preexisting HEX_to_RGB function which has validation already.

Also updated the minified file. That's a nasty diff, sorry.