<meta name="theme-color">Limited availability
The name="theme-color" attribute for the <meta> HTML element suggests a color that the browser can use to customize the display of the page or the browser user interface.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
✕Not supportedup to 155
Current: 155Edge
✕Not supportedup to 154
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
1–14.1Not supported
15+Supportedsince Sep 20, 2021
Current: 27MobileChrome Android
18–91Not supported
92+Supportedsince Jul 20, 2021
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
1–14.5Not supported
15+Supportedsince Sep 20, 2021
Current: 27How to use
Not supported in Chrome, Edge, Firefox, Firefox Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: theme-color.
Feature detection
JS · check before using
if ("name" in document.createElement("meta")) {
// the name attribute/property of <meta> is supported
}