replaced hardcoded colors with css classes