Hex color #c74fbb, RGB(199, 79, 187) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c74fbb is a shade of magenta. In a RGB color space it is composed of 78.04% red, 30.98% green and 73.33% blue. In HSL notation it has 306° hue, 51.7% saturation and 54.5% lightness. The process color (CMYK) is combination of 0% cyan, 60.30% magenta, 6.03% yellow and 21.96% key (black). The closest short hexadecimal code of #c74fbb is #c4b.
Example CSS code:
.setFontColor { color: #c74fbb; }
.setBackgroundColor { background-color: #c74fbb; }
How to set font color?
<p style="color:#c74fbb">Font color is #c74fbb.</p>
Font color is #c74fbb.
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:#c74fbb">Background color is #c74fbb.</div>
Background color is #c74fbb.
Compromise in colors is grey.
- Edi Rama