renamed Color to color_tmp