allow color to be set via class