主题颜色元标记不适用于特定颜色

Theme color meta tags not working with specific color

在 Chrome Android 的元标记中,一种单一的颜色,旧花边,对我来说不适合作为主题颜色。

其他颜色效果不错。我尝试提供十六进制三元组,但仍然没有。

<html>
<head>
    ....
    <meta name="theme-color" content="oldlace"> <!-- content="#fdf5e6" doesn't work either -->
    ....
</head>
<body>
    ....
</body>
</html>

它只是显示为默认的白色,而不是所需的颜色。

这是来自 WHATWG

的描述

When using the theme color in UI, user agents may adjust it in implementation-specific ways to make it more suitable for the UI in question.

颜色 #fdf5e6 在这里是个问题,因为它太亮了,没有足够的对比度。

颜色 #f5f5f5f 和任何其他浅色也有同样的问题。