Hex color #3912b2, RGB(57, 18, 178) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3912b2 is a shade of blue. In a RGB color space it is composed of 22.35% red, 7.06% green and 69.8% blue. In HSL notation it has 254.6° hue, 81.6% saturation and 38.4% lightness. The process color (CMYK) is combination of 67.98% cyan, 89.89% magenta, 0% yellow and 30.20% key (black). The closest short hexadecimal code of #3912b2 is #31b.
Example CSS code:
.setFontColor { color: #3912b2; }
.setBackgroundColor { background-color: #3912b2; }
How to set font color?
<p style="color:#3912b2">Font color is #3912b2.</p>
Font color is #3912b2.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#3912b2">Background color is #3912b2.</div>
Background color is #3912b2.
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