Move the colour configuration into midend.c so that it becomes