Fix color parsing