refine background color for each level