Hex color #0f4b2d, RGB(15, 75, 45) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0f4b2d is a shade of green-cyan. In a RGB color space it is composed of 5.88% red, 29.41% green and 17.65% blue. In HSL notation it has 150° hue, 66.7% saturation and 17.6% lightness. The process color (CMYK) is combination of 80% cyan, 0% magenta, 40% yellow and 70.59% key (black). The closest short hexadecimal code of #0f4b2d is #042.
Example CSS code:
.setFontColor { color: #0f4b2d; }
.setBackgroundColor { background-color: #0f4b2d; }
How to set font color?
<p style="color:#0f4b2d">Font color is #0f4b2d.</p>
Font color is #0f4b2d.
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:#0f4b2d">Background color is #0f4b2d.</div>
Background color is #0f4b2d.
Compromise in colors is grey.
- Edi Rama