theme color css code example

Example 1: theme color

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

Example 2: theme color in html

<!-- Theme-color is use to set the background to your favorite/Branding color
Add two attribute in meta tag first 'name="theme-color"' and second 'content="Your Hexadecimal Code"'
Add Below Meta property to your HTML code in HEAD Section -->
Example:
<head>
  ...
  <meta name="theme-color" content="#444444">
  ...
</head>

Example 3: meta tag background

<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

Tags:

Html Example