Hex color #5172e6, RGB(81, 114, 230) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5172e6 is a shade of blue. In a RGB color space it is composed of 31.76% red, 44.71% green and 90.2% blue. In HSL notation it has 226.7° hue, 74.9% saturation and 61% lightness. The process color (CMYK) is combination of 64.78% cyan, 50.43% magenta, 0% yellow and 9.80% key (black). The closest short hexadecimal code of #5172e6 is #57e.
Example CSS code:
.setFontColor { color: #5172e6; }
.setBackgroundColor { background-color: #5172e6; }
How to set font color?
<p style="color:#5172e6">Font color is #5172e6.</p>
Font color is #5172e6.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#5172e6">Background color is #5172e6.</div>
Background color is #5172e6.
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