悬停的标题文本和背景的本机/默认颜色

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.

这篇关于悬停的标题文本和背景的本机/默认颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:悬停的标题文本和背景的本机/默认颜色

基础教程推荐