Hex color #2862d6, RGB(40, 98, 214) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2862d6 is a shade of blue-cyan. In a RGB color space it is composed of 15.69% red, 38.43% green and 83.92% blue. In HSL notation it has 220° hue, 68.5% saturation and 49.8% lightness. The process color (CMYK) is combination of 81.31% cyan, 54.21% magenta, 0% yellow and 16.08% key (black). The closest short hexadecimal code of #2862d6 is #26d.
Example CSS code:
.setFontColor { color: #2862d6; }
.setBackgroundColor { background-color: #2862d6; }
How to set font color?
<p style="color:#2862d6">Font color is #2862d6.</p>
Font color is #2862d6.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#2862d6">Background color is #2862d6.</div>
Background color is #2862d6.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage