CGE2: Implement switchColorMode().