Hex color #3a174c, RGB(58, 23, 76) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a174c is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 9.02% green and 29.8% blue. In HSL notation it has 279.6° hue, 53.5% saturation and 19.4% lightness. The process color (CMYK) is combination of 23.68% cyan, 69.74% magenta, 0% yellow and 70.20% key (black). The closest short hexadecimal code of #3a174c is #314.
Example CSS code:
.setFontColor { color: #3a174c; }
.setBackgroundColor { background-color: #3a174c; }
How to set font color?
<p style="color:#3a174c">Font color is #3a174c.</p>
Font color is #3a174c.
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:#3a174c">Background color is #3a174c.</div>
Background color is #3a174c.
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