Door icon status change closed blue - open yellow

Just getting started with HA and have been styling icons in the Overview screen.

I really like the mdi:lightbulb icon for lights in that the color changes blue - off / yellow - on

I would like the door icon to change the same way. I tried the mdi:door icon as well as mdi:door-open and mdi:door-closed but with any of those neither the icon or color change with status anymore.

What I want, and what I expected, was for the icon to behave the same way it does in the window that pops up when I click on the door entity: closed-blue / open-yellow.

I have attached pics that might explain what I want better.

Any help or guidance would be greatly appreciated!

What you posted seems to be an automatically generated Overview dashboard. Not using any automatically generated dashboards myself; but in normal “managed by a user” dashboard you can use Entitles card with “state_color: true” option set.