Can't figure out template to toggle volume_mute

just as another follow-up… i removed that button-card template and then put it back in, and the toggle seems to be working as intended… will keep monitoring… t

I’m new to this so forgive me if this is obvious.

I’m trying to put in a mute button using a mushroom template card, I want it to change color when it’s muted.

This is what I’m using for the on off state

{% if is_state('media_player.kitchen', 'on') %}
  orange
{% endif %}

is there a way of doing this for is_volume_muted = false/true?

image_2023-03-04_183243163