Fix broken color parsing