fix Color class
implement color parsing