Hex color #9d9612, RGB(157, 150, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9d9612 is a shade of yellow. In a RGB color space it is composed of 61.57% red, 58.82% green and 7.06% blue. In HSL notation it has 57° hue, 79.4% saturation and 34.3% lightness. The process color (CMYK) is combination of 0% cyan, 4.46% magenta, 88.54% yellow and 38.43% key (black). The closest short hexadecimal code of #9d9612 is #991.
Example CSS code:
.setFontColor { color: #9d9612; }
.setBackgroundColor { background-color: #9d9612; }
How to set font color?
<p style="color:#9d9612">Font color is #9d9612.</p>
Font color is #9d9612.
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:#9d9612">Background color is #9d9612.</div>
Background color is #9d9612.
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