Gauge card - how do you change colour of the “unfilled” portion?

I’m playing with various themes, and find that the unfilled portion of a gauge is either white or black, depending on whether the theme is light or dark (see pic). Is there a way to change this colour so if fits in better with a theme? image

1 Like

A little late but in case anyone else is wondering, it’s determined by the primary background color.

card_mod:
    style: |
      ha-card {
         --primary-background-color: rgba(128,128,128,1);
        }