Hex color #f0f0f7, RGB(240, 240, 247) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0f0f7 is a shade of blue. In a RGB color space it is composed of 94.12% red, 94.12% green and 96.86% blue. In HSL notation it has 240° hue, 30.4% saturation and 95.5% lightness. The process color (CMYK) is combination of 2.83% cyan, 2.83% magenta, 0% yellow and 3.14% key (black). The closest short hexadecimal code of #f0f0f7 is #fff.
Example CSS code:
.setFontColor { color: #f0f0f7; }
.setBackgroundColor { background-color: #f0f0f7; }
How to set font color?
<p style="color:#f0f0f7">Font color is #f0f0f7.</p>
Font color is #f0f0f7.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#f0f0f7">Background color is #f0f0f7.</div>
Background color is #f0f0f7.
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