Hex color #16214e, RGB(22, 33, 78) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #16214e is a shade of blue. In a RGB color space it is composed of 8.63% red, 12.94% green and 30.59% blue. In HSL notation it has 228.2° hue, 56% saturation and 19.6% lightness. The process color (CMYK) is combination of 71.79% cyan, 57.69% magenta, 0% yellow and 69.41% key (black). The closest short hexadecimal code of #16214e is #124.
Example CSS code:
.setFontColor { color: #16214e; }
.setBackgroundColor { background-color: #16214e; }
How to set font color?
<p style="color:#16214e">Font color is #16214e.</p>
Font color is #16214e.
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
How to set background color?
<div style="background-color:#16214e">Background color is #16214e.</div>
Background color is #16214e.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage