Hex color #df15b1, RGB(223, 21, 177) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #df15b1 is a shade of magenta. In a RGB color space it is composed of 87.45% red, 8.24% green and 69.41% blue. In HSL notation it has 313.7° hue, 82.8% saturation and 47.8% lightness. The process color (CMYK) is combination of 0% cyan, 90.58% magenta, 20.63% yellow and 12.55% key (black). The closest short hexadecimal code of #df15b1 is #d1b.
Example CSS code:
.setFontColor { color: #df15b1; }
.setBackgroundColor { background-color: #df15b1; }
How to set font color?
<p style="color:#df15b1">Font color is #df15b1.</p>
Font color is #df15b1.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#df15b1">Background color is #df15b1.</div>
Background color is #df15b1.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage