change bg color for legend