creating classes for color boxes