main class bg color change