Custom button for url

Hello.

Is there a way to make a custom button for an url of one page (perspective) of a dashboard and when that url is opened and that page is accesed to change the color off the button just lke an entity state?
I have a button bar in every page of the dashboard and that button bar contains buttons for every room of my house and I want to highlight the button of the page that is opened… sometings like tabs in Chrome.

Nobody? No ideea?