Move obtain_cell_color