Fixed bug in color parsing routine.