Hex color #155198, RGB(21, 81, 152) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #155198 is a shade of blue-cyan. In a RGB color space it is composed of 8.24% red, 31.76% green and 59.61% blue. In HSL notation it has 212.5° hue, 75.7% saturation and 33.9% lightness. The process color (CMYK) is combination of 86.18% cyan, 46.71% magenta, 0% yellow and 40.39% key (black). The closest short hexadecimal code of #155198 is #159.
Example CSS code:
.setFontColor { color: #155198; }
.setBackgroundColor { background-color: #155198; }
How to set font color?
<p style="color:#155198">Font color is #155198.</p>
Font color is #155198.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#155198">Background color is #155198.</div>
Background color is #155198.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage