Hex color #cf178e, RGB(207, 23, 142) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #cf178e is a shade of red-magenta. In a RGB color space it is composed of 81.18% red, 9.02% green and 55.69% blue. In HSL notation it has 321.2° hue, 80% saturation and 45.1% lightness. The process color (CMYK) is combination of 0% cyan, 88.89% magenta, 31.40% yellow and 18.82% key (black). The closest short hexadecimal code of #cf178e is #c18.
Example CSS code:
.setFontColor { color: #cf178e; }
.setBackgroundColor { background-color: #cf178e; }
How to set font color?
<p style="color:#cf178e">Font color is #cf178e.</p>
Font color is #cf178e.
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
How to set background color?
<div style="background-color:#cf178e">Background color is #cf178e.</div>
Background color is #cf178e.
Compromise in colors is grey.
- Edi Rama