Button entity tile and CSS style

Hello,

I’d like to change the button color for a tile where I use it for a cover, and the code is the following:

features:
  - type: cover-position
  - type: custom:service-call
    entries:
      - type: button
        entity_id: cover.tapparella_soggiorno_1
        label: Open
        icon: mdi:arrow-up-bold
        styles: |
          {% if state_attr('cover.tapparella_soggiorno_1', 'current_position') >
          32 and state_attr('cover.tapparella_soggiorno_1', 'current_position')
          != 50%}
          green;
      - type: button
        entity_id: cover.tapparella_soggiorno_1
      - type: button
        entity_id: cover.tapparella_soggiorno_1
type: tile
entity: cover.tapparella_soggiorno_1
features_position: bottom
vertical: false
color: green
name: Soggiorno sinistra

But in this way I still get the button in grey:

How to fix it?