Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Native/default colors for hovered title text and background

Tags:

html

css

hover

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

like image 308
tim peterson Avatar asked Nov 15 '25 02:11

tim peterson


1 Answers

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.

like image 139
Jonathan Nicol Avatar answered Nov 17 '25 19:11

Jonathan Nicol



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!