commit the color change