Hex color #312ccd, RGB(49, 44, 205) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #312ccd is a shade of blue. In a RGB color space it is composed of 19.22% red, 17.25% green and 80.39% blue. In HSL notation it has 241.9° hue, 64.7% saturation and 48.8% lightness. The process color (CMYK) is combination of 76.10% cyan, 78.54% magenta, 0% yellow and 19.61% key (black). The closest short hexadecimal code of #312ccd is #32c.
Example CSS code:
.setFontColor { color: #312ccd; }
.setBackgroundColor { background-color: #312ccd; }
How to set font color?
<p style="color:#312ccd">Font color is #312ccd.</p>
Font color is #312ccd.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#312ccd">Background color is #312ccd.</div>
Background color is #312ccd.
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