Flipping between colour modes works.

TO DO: Improve global variable naming.