Native/default colors for hovered title text and background(悬停的标题文本和背景的本机/默认颜色)
问题描述
原生在 chrome/firefox 中,将鼠标悬停在一个元素上会显示其标题为黄色背景和黑色文本.
Natively in chrome/firefox, hovering over an element shows its title with a yellow background with black text.
有人知道每种颜色的确切 HEX 或 RGB 颜色吗?
Does anyone know the exact HEX or RGB colors for each?
谢谢,时间
推荐答案
截屏,在photoshop中打开,使用颜色选择器查找值.
Took a screen capture, opened it in photoshop, used the color picker to find the values.
在 OSX/Chrome 中,工具提示黄色背景是:
In OSX/Chrome the tooltip yellow background is:
#ffffca
在 OSX/Chrome 中,工具提示文本为:
In OSX/Chrome the tooltip text is:
#000023
在 OSX/FF 中,工具提示黄色背景为:
In OSX/FF the tooltip yellow background is:
#feffcd
在 OSX/FF 中,工具提示文本是:
in OSX/FF the tooltip text is:
#000
实际上,Chrome bg 中的某些点有细微的变化,它不是纯纯色.我不确定是什么导致了这种异常.但是我取的十六进制值是最一致的,任何变化都可以忽略不计.
There are actually minor variations at some points in the Chrome bg, it's not a purely solid color. I'm not sure what would cause that anomaly. But the hex value I took was the most consistent, and any variations are negligible anyway.
文本当然是抗锯齿的,并且值取自我认为是文本最暗的区域,这将对应于它的实际 RGB/HEX 值.
Text is of course antialiased, and values were taken from what I perceived to be the darkest area of the text, which would correspond to its actual RGB/HEX value.
这篇关于悬停的标题文本和背景的本机/默认颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:悬停的标题文本和背景的本机/默认颜色


基础教程推荐
- 如何添加到目前为止的天数? 2022-01-01
- Fabric JS绘制具有活动形状的多边形 2022-01-01
- 在 contenteditable 中精确拖放 2022-01-01
- Bootstrap 模态出现在背景下 2022-01-01
- fetch 是否支持原生多文件上传? 2022-01-01
- 检查 HTML5 拖放文件类型 2022-01-01
- 即使用户允许,Gmail 也会隐藏外部电子邮件图片 2022-01-01
- Bokeh Div文本对齐 2022-01-01
- npm start 错误与 create-react-app 2022-01-01
- 原生拖动事件后如何获取 mouseup 事件? 2022-01-01