Fix #2 (Color.fromString failing when ExtendedColor is required) 

The fix is an addition of a test to check if the named color is a string before calling fromHex.