Giving a button that runs a script another entitiys state

On my dashboard I got a button that starts a scene to set some lights and changing an inout_boolean to show if my eco mode is on or off.
If I have a usual button, say for turning a switch on or off, i can make it yellow if on and blue if off.
Is this possible with my sczene button, too?
Give it a colour related to the condition of the input_boolean?

.You can do this with custom:button-card


Thanks you two.
I deceided to use costum botton card, because I didnt understand the second installation guide :o)
Works perfectly fine.