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