Icon color on a picture elements card

Trying to change the cctv icon color from white to something else so it stands out better. But the code doesn’t seem to be working.

     - type: icon
        icon: mdi:cctv
        entity: camera.front_camera_east_hd
        style:
          top: 91%
          left: 35%
          '--paper-item-icon-color': red

I’ve also tried

          '--paper-item-icon-active-color': red

but it stubbornly stays white.

1 Like

Doh!

style:
  color: red

works.

1 Like