Hex color #6160b6, RGB(97, 96, 182) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6160b6 is a shade of blue. In a RGB color space it is composed of 38.04% red, 37.65% green and 71.37% blue. In HSL notation it has 240.7° hue, 37.1% saturation and 54.5% lightness. The process color (CMYK) is combination of 46.70% cyan, 47.25% magenta, 0% yellow and 28.63% key (black). The closest short hexadecimal code of #6160b6 is #66b.
Example CSS code:
.setFontColor { color: #6160b6; }
.setBackgroundColor { background-color: #6160b6; }
How to set font color?
<p style="color:#6160b6">Font color is #6160b6.</p>
Font color is #6160b6.
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:#6160b6">Background color is #6160b6.</div>
Background color is #6160b6.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage