adjusting the color type