Modify methods of Changing color and opacity.