Panel title changes color after migrating Singlestat Panel to Statpanel

Hello everybody,

As singlestat panel is deprecated, I was migrating to Stat panel. Unfortunately, that changes the design as well. My singlestat panel’s background is colored based on the trigger. The singlestat title is also colored. With stat panel, this seems to not working anymore. Is there a way to have it look like the singlestat panel in terms of background color?
Statpanel