Hex color #9a9230, RGB(154, 146, 48) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9a9230 is a shade of yellow. In a RGB color space it is composed of 60.39% red, 57.25% green and 18.82% blue. In HSL notation it has 55.5° hue, 52.5% saturation and 39.6% lightness. The process color (CMYK) is combination of 0% cyan, 5.19% magenta, 68.83% yellow and 39.61% key (black). The closest short hexadecimal code of #9a9230 is #993.
Example CSS code:
.setFontColor { color: #9a9230; }
.setBackgroundColor { background-color: #9a9230; }
How to set font color?
<p style="color:#9a9230">Font color is #9a9230.</p>
Font color is #9a9230.
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:#9a9230">Background color is #9a9230.</div>
Background color is #9a9230.
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