full color code added for every kind of class.