Use class attribs instead of strings for colors