Snippet: theme-color for Android 5.0

Published on
147 words.Average read time: 1 minutes.

Just yesterday I got my Android 5.0 update which also features a new way multi-tasking works and Chrome interacts with this multi-tasking. In fact, all recently opened tabs are available via the multi-tasking button (square to the down right on Stock Android) instead of an in-app button like it used to be. This not only is very handy actually since you can switch between apps and websites seamlessly you can also set your own status bar colors for chrome which are used on the page and in the multi-tasking overview.


All it takes is a simple one-liner of HTML: a <meta>-tag!

<meta name="theme-color" content="#5677fc">

The content can be any valid CSS color and that’s it - nothing more to do!