assign colors correctly