Hex color #9c9c0c, RGB(156, 156, 12) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9c9c0c is a shade of yellow. In a RGB color space it is composed of 61.18% red, 61.18% green and 4.71% blue. In HSL notation it has 60° hue, 85.7% saturation and 32.9% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 92.31% yellow and 38.82% key (black). The closest short hexadecimal code of #9c9c0c is #990.
Example CSS code:
.setFontColor { color: #9c9c0c; }
.setBackgroundColor { background-color: #9c9c0c; }
How to set font color?
<p style="color:#9c9c0c">Font color is #9c9c0c.</p>
Font color is #9c9c0c.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#9c9c0c">Background color is #9c9c0c.</div>
Background color is #9c9c0c.
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