Apple Safari has started supporting theme-color Meta Tag from the Safari 15 release.
Here is how to Implement a theme-color meta tag in HTML.
You have to copy-paste the theme-color meta tag into a section of your website. It will look something like this:
<meta name="theme-color" content="#ff0000"/>
You can use the following code to implement theme color specific to system light or dark modes.
<meta name="theme-color" content="#ff0000" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#ff0000" media="(prefers-color-scheme: dark)">