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