Icon color change based on another icon color

Hi there,

i have a mushroom template card in which the icon color is changing based on the states of an entity defined (let’s call this card A).

Is it possible to have in another mushroom template card (let’s call it card B), the icon color to change based on the icon color value of card A?