Hex color #052812, RGB(5, 40, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #052812 is a shade of green-cyan. In a RGB color space it is composed of 1.96% red, 15.69% green and 7.06% blue. In HSL notation it has 142.3° hue, 77.8% saturation and 8.8% lightness. The process color (CMYK) is combination of 87.5% cyan, 0% magenta, 55% yellow and 84.31% key (black). The closest short hexadecimal code of #052812 is #021.
Example CSS code:
.setFontColor { color: #052812; }
.setBackgroundColor { background-color: #052812; }
How to set font color?
<p style="color:#052812">Font color is #052812.</p>
Font color is #052812.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#052812">Background color is #052812.</div>
Background color is #052812.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage