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