Background color of Legend


I’ve set the background colors of my canvases, pads, statistics, titles and frames to white using the corresponding gStyle functions. Now I’m wondering how to set the background color of a legend to white as default?


I’ve tried replacing the setting of all the fill colors individually by gStyle->SetFillColor(kWhite) but that results in a color palette with only white as fill color.

1 Like

There is not global setting for that. Set the FillColor for the Legend to White when you create it.