Add named colors and refactor parseColorString()

Added named colours and refactored parseColorString()