Adding option to use legend background color instead