switch color index