Set background color function