Hex color #154666, RGB(21, 70, 102) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #154666 is a shade of blue-cyan. In a RGB color space it is composed of 8.24% red, 27.45% green and 40% blue. In HSL notation it has 203.7° hue, 65.9% saturation and 24.1% lightness. The process color (CMYK) is combination of 79.41% cyan, 31.37% magenta, 0% yellow and 60% key (black). The closest short hexadecimal code of #154666 is #146.
Example CSS code:
.setFontColor { color: #154666; }
.setBackgroundColor { background-color: #154666; }
How to set font color?
<p style="color:#154666">Font color is #154666.</p>
Font color is #154666.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#154666">Background color is #154666.</div>
Background color is #154666.
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