Hex color #c421a6, RGB(196, 33, 166) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c421a6 is a shade of magenta. In a RGB color space it is composed of 76.86% red, 12.94% green and 65.1% blue. In HSL notation it has 311° hue, 71.2% saturation and 44.9% lightness. The process color (CMYK) is combination of 0% cyan, 83.16% magenta, 15.31% yellow and 23.14% key (black). The closest short hexadecimal code of #c421a6 is #c2a.
Example CSS code:
.setFontColor { color: #c421a6; }
.setBackgroundColor { background-color: #c421a6; }
How to set font color?
<p style="color:#c421a6">Font color is #c421a6.</p>
Font color is #c421a6.
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:#c421a6">Background color is #c421a6.</div>
Background color is #c421a6.
Compromise in colors is grey.
- Edi Rama