Hex color #f5f5f5, RGB(245, 245, 245) - also known as white smoke - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f5f5f5 is a shade of red. In a RGB color space it is composed of 96.08% red, 96.08% green and 96.08% blue. In HSL notation it has 0° hue, 0% saturation and 96.1% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #f5f5f5 is #fff.
Example CSS code:
.setFontColor { color: #f5f5f5; }
.setBackgroundColor { background-color: #f5f5f5; }
How to set font color?
<p style="color:#f5f5f5">Font color is #f5f5f5.</p>
Font color is #f5f5f5.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#f5f5f5">Background color is #f5f5f5.</div>
Background color is #f5f5f5.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant