Hex color #f0d8c8, RGB(240, 216, 200) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0d8c8 is a shade of red-yellow. In a RGB color space it is composed of 94.12% red, 84.71% green and 78.43% blue. In HSL notation it has 24° hue, 57.1% saturation and 86.3% lightness. The process color (CMYK) is combination of 0% cyan, 10% magenta, 16.67% yellow and 5.88% key (black). The closest short hexadecimal code of #f0d8c8 is #fdc.
Example CSS code:
.setFontColor { color: #f0d8c8; }
.setBackgroundColor { background-color: #f0d8c8; }
How to set font color?
<p style="color:#f0d8c8">Font color is #f0d8c8.</p>
Font color is #f0d8c8.
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
How to set background color?
<div style="background-color:#f0d8c8">Background color is #f0d8c8.</div>
Background color is #f0d8c8.
Compromise in colors is grey.
- Edi Rama