Hex color #b5ab20, RGB(181, 171, 32) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #b5ab20 is a shade of yellow. In a RGB color space it is composed of 70.98% red, 67.06% green and 12.55% blue. In HSL notation it has 56° hue, 70% saturation and 41.8% lightness. The process color (CMYK) is combination of 0% cyan, 5.52% magenta, 82.32% yellow and 29.02% key (black). The closest short hexadecimal code of #b5ab20 is #ba2.
Example CSS code:
.setFontColor { color: #b5ab20; }
.setBackgroundColor { background-color: #b5ab20; }
How to set font color?
<p style="color:#b5ab20">Font color is #b5ab20.</p>
Font color is #b5ab20.
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:#b5ab20">Background color is #b5ab20.</div>
Background color is #b5ab20.
Compromise in colors is grey.
- Edi Rama