Hex color #040908, RGB(4, 9, 8) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #040908 is a shade of cyan. In a RGB color space it is composed of 1.57% red, 3.53% green and 3.14% blue. In HSL notation it has 168° hue, 38.5% saturation and 2.5% lightness. The process color (CMYK) is combination of 55.56% cyan, 0% magenta, 11.11% yellow and 96.47% key (black). The closest short hexadecimal code of #040908 is #000.
Example CSS code:
.setFontColor { color: #040908; }
.setBackgroundColor { background-color: #040908; }
How to set font color?
<p style="color:#040908">Font color is #040908.</p>
Font color is #040908.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#040908">Background color is #040908.</div>
Background color is #040908.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage