Hex color #f4f6f2, RGB(244, 246, 242) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f4f6f2 is a shade of green-yellow. In a RGB color space it is composed of 95.69% red, 96.47% green and 94.9% blue. In HSL notation it has 90° hue, 18.2% saturation and 95.7% lightness. The process color (CMYK) is combination of 0.81% cyan, 0% magenta, 1.63% yellow and 3.53% key (black). The closest short hexadecimal code of #f4f6f2 is #fff.
Example CSS code:
.setFontColor { color: #f4f6f2; }
.setBackgroundColor { background-color: #f4f6f2; }
How to set font color?
<p style="color:#f4f6f2">Font color is #f4f6f2.</p>
Font color is #f4f6f2.
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:#f4f6f2">Background color is #f4f6f2.</div>
Background color is #f4f6f2.
Compromise in colors is grey.
- Edi Rama