Hex color #b170f5, RGB(177, 112, 245) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #b170f5 is a shade of blue-magenta. In a RGB color space it is composed of 69.41% red, 43.92% green and 96.08% blue. In HSL notation it has 269.3° hue, 86.9% saturation and 70% lightness. The process color (CMYK) is combination of 27.76% cyan, 54.29% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #b170f5 is #b7f.
Example CSS code:
.setFontColor { color: #b170f5; }
.setBackgroundColor { background-color: #b170f5; }
How to set font color?
<p style="color:#b170f5">Font color is #b170f5.</p>
Font color is #b170f5.
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:#b170f5">Background color is #b170f5.</div>
Background color is #b170f5.
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