Hex color #5160d0, RGB(81, 96, 208) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5160d0 is a shade of blue. In a RGB color space it is composed of 31.76% red, 37.65% green and 81.57% blue. In HSL notation it has 232.9° hue, 57.5% saturation and 56.7% lightness. The process color (CMYK) is combination of 61.06% cyan, 53.85% magenta, 0% yellow and 18.43% key (black). The closest short hexadecimal code of #5160d0 is #56d.
Example CSS code:
.setFontColor { color: #5160d0; }
.setBackgroundColor { background-color: #5160d0; }
How to set font color?
<p style="color:#5160d0">Font color is #5160d0.</p>
Font color is #5160d0.
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:#5160d0">Background color is #5160d0.</div>
Background color is #5160d0.
Compromise in colors is grey.
- Edi Rama