Better match background color with image color for smooth swapping