Hex color #1872c8, RGB(24, 114, 200) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1872c8 is a shade of blue-cyan. In a RGB color space it is composed of 9.41% red, 44.71% green and 78.43% blue. In HSL notation it has 209.3° hue, 78.6% saturation and 43.9% lightness. The process color (CMYK) is combination of 88% cyan, 43% magenta, 0% yellow and 21.57% key (black). The closest short hexadecimal code of #1872c8 is #17c.
Example CSS code:
.setFontColor { color: #1872c8; }
.setBackgroundColor { background-color: #1872c8; }
How to set font color?
<p style="color:#1872c8">Font color is #1872c8.</p>
Font color is #1872c8.
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:#1872c8">Background color is #1872c8.</div>
Background color is #1872c8.
Compromise in colors is grey.
- Edi Rama