Hex color #f6f796, RGB(246, 247, 150) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f6f796 is a shade of yellow. In a RGB color space it is composed of 96.47% red, 96.86% green and 58.82% blue. In HSL notation it has 60.6° hue, 85.8% saturation and 77.8% lightness. The process color (CMYK) is combination of 0.40% cyan, 0% magenta, 39.27% yellow and 3.14% key (black). The closest short hexadecimal code of #f6f796 is #ff9.
Example CSS code:
.setFontColor { color: #f6f796; }
.setBackgroundColor { background-color: #f6f796; }
How to set font color?
<p style="color:#f6f796">Font color is #f6f796.</p>
Font color is #f6f796.
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:#f6f796">Background color is #f6f796.</div>
Background color is #f6f796.
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