Hex color #371ce3, RGB(55, 28, 227) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #371ce3 is a shade of blue. In a RGB color space it is composed of 21.57% red, 10.98% green and 89.02% blue. In HSL notation it has 248.1° hue, 78% saturation and 50% lightness. The process color (CMYK) is combination of 75.77% cyan, 87.67% magenta, 0% yellow and 10.98% key (black). The closest short hexadecimal code of #371ce3 is #31e.
Example CSS code:
.setFontColor { color: #371ce3; }
.setBackgroundColor { background-color: #371ce3; }
How to set font color?
<p style="color:#371ce3">Font color is #371ce3.</p>
Font color is #371ce3.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#371ce3">Background color is #371ce3.</div>
Background color is #371ce3.
Compromise in colors is grey.
- Edi Rama