Hex color #9c9c00, RGB(156, 156, 0) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9c9c00 is a shade of yellow. In a RGB color space it is composed of 61.18% red, 61.18% green and 0% blue. In HSL notation it has 60° hue, 100% saturation and 30.6% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 100% yellow and 38.82% key (black). The closest short hexadecimal code of #9c9c00 is #990.
Example CSS code:
.setFontColor { color: #9c9c00; }
.setBackgroundColor { background-color: #9c9c00; }
How to set font color?
<p style="color:#9c9c00">Font color is #9c9c00.</p>
Font color is #9c9c00.
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
How to set background color?
<div style="background-color:#9c9c00">Background color is #9c9c00.</div>
Background color is #9c9c00.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage