use correct bg value, if color name is given