Hex color #5307df, RGB(83, 7, 223) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5307df is a shade of blue-magenta. In a RGB color space it is composed of 32.55% red, 2.75% green and 87.45% blue. In HSL notation it has 261.1° hue, 93.9% saturation and 45.1% lightness. The process color (CMYK) is combination of 62.78% cyan, 96.86% magenta, 0% yellow and 12.55% key (black). The closest short hexadecimal code of #5307df is #50d.
Example CSS code:
.setFontColor { color: #5307df; }
.setBackgroundColor { background-color: #5307df; }
How to set font color?
<p style="color:#5307df">Font color is #5307df.</p>
Font color is #5307df.
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
How to set background color?
<div style="background-color:#5307df">Background color is #5307df.</div>
Background color is #5307df.
Compromise in colors is grey.
- Edi Rama