moves css color variable to the right place