悬浮标题文本和背景的本机/默认颜色 [英] Native/default colors for hovered title text and background

查看:152
本文介绍了悬浮标题文本和背景的本机/默认颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在chrome / firefox中,悬停在一个元素上显示其标题带有黑色文本的黄色背景。



每个人都知道 确切 十六进制或RGB颜色吗?



感谢,
tim

解决方案

进行截图,在photoshop中打开,



在OSX / Chrome中,工具提示黄色背景是:

  #ffffca 

在OSX / Chrome中,工具提示文字是:

 #000023 

在OSX / FF中,工具提示黄色背景是:

  #feffcd 
OSX / FF中的pre>

工具提示文本是:

  000 

Chrome bg中的某些点上实际上有细微的变化,它不是纯纯色。我不知道什么会导致异常。但是我采用的十六进制值是最一致的,任何变化都可以忽略不计。



文本当然是抗锯齿,值取自我认为是最暗区域,这将对应于其实际的RGB / HEX值。


Natively in chrome/firefox, hovering over an element shows its title with a yellow background with black text.

Does anyone know the exact HEX or RGB colors for each?

thanks, tim

解决方案

Took a screen capture, opened it in photoshop, used the color picker to find the values.

In OSX/Chrome the tooltip yellow background is:

#ffffca

In OSX/Chrome the tooltip text is:

#000023

In OSX/FF the tooltip yellow background is:

#feffcd

in OSX/FF the tooltip text is:

#000

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.

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.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆