Mobile window tinting

Can anyone help me with some code to tint the mobile browser window? Thank you in advance

Hi @Dario_Buzzini the following code below. Top line is for a fixed colour, the lines below allow different colours for light and dark mode. Suggest reading this article to learn more about metas. This code needs to be inserted into the head of your project.

<meta name="theme-color" content="#319197">

<meta name="theme-color" content="#319197" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#872e4e" media="(prefers-color-scheme: dark)">

Thank you! this is what i was looking for :slight_smile:
Do you also happen to know how to hide a mobile browser’s address bar on scroll? i am not finding any helpful resource online. Thank you in advance for your help!

Hi @Dario_Buzzini there isn’t such a way to hide the mobile browser’s address bar. :slight_smile:

Thanks! i meant to minimize it like so: javascript - How to hide a mobile browser's address bar? - Stack Overflow

Any clues?