rainbow-mode integration