Hex color #020f1b, RGB(2, 15, 27) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #020f1b is a shade of blue-cyan. In a RGB color space it is composed of 0.78% red, 5.88% green and 10.59% blue. In HSL notation it has 208.8° hue, 86.2% saturation and 5.7% lightness. The process color (CMYK) is combination of 92.59% cyan, 44.44% magenta, 0% yellow and 89.41% key (black). The closest short hexadecimal code of #020f1b is #001.
Example CSS code:
.setFontColor { color: #020f1b; }
.setBackgroundColor { background-color: #020f1b; }
How to set font color?
<p style="color:#020f1b">Font color is #020f1b.</p>
Font color is #020f1b.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#020f1b">Background color is #020f1b.</div>
Background color is #020f1b.
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