Hex color #122028, RGB(18, 32, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #122028 is a shade of blue-cyan. In a RGB color space it is composed of 7.06% red, 12.55% green and 15.69% blue. In HSL notation it has 201.8° hue, 37.9% saturation and 11.4% lightness. The process color (CMYK) is combination of 55% cyan, 20% magenta, 0% yellow and 84.31% key (black). The closest short hexadecimal code of #122028 is #122.
Example CSS code:
.setFontColor { color: #122028; }
.setBackgroundColor { background-color: #122028; }
How to set font color?
<p style="color:#122028">Font color is #122028.</p>
Font color is #122028.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#122028">Background color is #122028.</div>
Background color is #122028.
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