Fix color parsing in prefix