rearrangement of colors