Hex color #4856df, RGB(72, 86, 223) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4856df is a shade of blue. In a RGB color space it is composed of 28.24% red, 33.73% green and 87.45% blue. In HSL notation it has 234.4° hue, 70.2% saturation and 57.8% lightness. The process color (CMYK) is combination of 67.71% cyan, 61.43% magenta, 0% yellow and 12.55% key (black). The closest short hexadecimal code of #4856df is #45d.
Example CSS code:
.setFontColor { color: #4856df; }
.setBackgroundColor { background-color: #4856df; }
How to set font color?
<p style="color:#4856df">Font color is #4856df.</p>
Font color is #4856df.
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:#4856df">Background color is #4856df.</div>
Background color is #4856df.
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