Fix color parsing issue