sandywp / plugins / browser-theme-color
Browser Theme Color
Address Bar Color & Dark Mode
Color the mobile browser address bar with your brand color, with a separate color for dark mode.
Ready in seconds.
v2.0.1 2,000+ installs WP 5.0+ PHP 7.0+

What you get inside
2 screens-
Settings page: theme color, dark mode color with live previews and experimental Safari iOS 26+ options.
-
Choose any color with the WordPress color picker.
About this plugin
Discover a powerful solution for enhancing your website’s user experience across multiple platforms with our simple, lightweight, and effective plugin that adds the “theme-color” meta tag. Supported by Chrome, Edge and Samsung Internet on Android and by Safari up to iOS 18, our plugin follows the web standard to ensure a seamless user experience.
In addition to its seamless compatibility, our plugin is fully customizable, allowing you to style it to match your brand’s unique identity. With the option to choose from a variety of colors, you can easily tailor the “theme-color” meta tag to perfectly complement your website’s design and layout.
When you install the plugin for the first time, the color is automatically set to #23282D, which is the standard WordPress color. From there, you can easily customize the tag to match your brand, ensuring a fully immersive user experience that keeps visitors coming back for more.
Features
- Sets the “theme-color” meta tag used by Chrome, Edge and Samsung Internet on Android, and Safari up to iOS 18
- Optional separate color for visitors using dark mode (
prefers-color-scheme) - Experimental support for Safari on iOS 26+, which ignores the “theme-color” tag
- Color picker with live light/dark preview
- Developer filters:
browser_theme_colorandbrowser_theme_color_dark - Lightweight: no external requests, no front-end scripts or styles
Development happens on GitHub: milesimarco/browser-theme-color.
Don’t settle for a subpar user experience on mobile devices. Elevate your website’s design and functionality with our “theme-color” meta tag plugin today, for free!
Questions
- How to set the color?
You can set the color in the plugin settings screen (Settings -> Browser Theme Color), or via the “Settings” link in the plugins list.
- Can I use a different color in dark mode?
Yes. Set the “Dark Mode Color” field: the plugin will output two theme-color tags with
media="(prefers-color-scheme: light)"andmedia="(prefers-color-scheme: dark)". Leave it empty to use a single color.- Does it work on iPhone?
Up to iOS 18, Safari uses the “theme-color” tag. Starting with iOS 26, Safari ignores it and tints its toolbars using the background color of your page or of fixed elements at the top and bottom edges (such as a fixed header).
Version 2.0 adds two experimental options, “Tint the top bar” and “Tint the bottom bar” (Settings -> Browser Theme Color), disabled by default. They add a thin strip in your theme color at the top and/or bottom edge of the page, only on iOS Safari, so Safari can pick up the color. Apple does not document this behavior and may change it: if your theme has a fixed header Safari may use its color instead, so test it on a real iPhone.
Tried it on an iPhone? Please share how it behaves (iOS version, theme, and whether the bars changed color) in the support forum: your feedback will help improve this feature.
- Can I change the color programmatically?
Yes, use the filters:
add_filter( 'browser_theme_color', function( $color ) { return is_front_page() ? '#ff6600' : $color; } ); add_filter( 'browser_theme_color_dark', '__return_empty_string' );
sandywp / also on the shelf
Try another plugin
4.5 · 300+ installs
Customize your mobile browsing experience by setting theme colors for the address bar of your pages on your WordPress site
Browser Address Bar Color Changer
100+ installs
A simple and secure plugin to change the browser address bar color on mobile devices using the theme-color meta tag.
Mobile address bar color changer
70+ installs
Change the color of the address bar on chome on mobile devices. For now only chrome supports the meta tags.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.