Hex color #054901, RGB(5, 73, 1) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #054901 is a shade of green. In a RGB color space it is composed of 1.96% red, 28.63% green and 0.39% blue. In HSL notation it has 116.7° hue, 97.3% saturation and 14.5% lightness. The process color (CMYK) is combination of 93.15% cyan, 0% magenta, 98.63% yellow and 71.37% key (black). The closest short hexadecimal code of #054901 is #040.
Example CSS code:
.setFontColor { color: #054901; }
.setBackgroundColor { background-color: #054901; }
How to set font color?
<p style="color:#054901">Font color is #054901.</p>
Font color is #054901.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#054901">Background color is #054901.</div>
Background color is #054901.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage