updated color class.