Define and enable global rainbow-mode.