Hex color #cf70cf, RGB(207, 112, 207) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #cf70cf is a shade of magenta. In a RGB color space it is composed of 81.18% red, 43.92% green and 81.18% blue. In HSL notation it has 300° hue, 49.7% saturation and 62.5% lightness. The process color (CMYK) is combination of 0% cyan, 45.89% magenta, 0% yellow and 18.82% key (black). The closest short hexadecimal code of #cf70cf is #c7c.
Example CSS code:
.setFontColor { color: #cf70cf; }
.setBackgroundColor { background-color: #cf70cf; }
How to set font color?
<p style="color:#cf70cf">Font color is #cf70cf.</p>
Font color is #cf70cf.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#cf70cf">Background color is #cf70cf.</div>
Background color is #cf70cf.
Compromise in colors is grey.
- Edi Rama