Hex color #d5226a, RGB(213, 34, 106) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d5226a is a shade of red-magenta. In a RGB color space it is composed of 83.53% red, 13.33% green and 41.57% blue. In HSL notation it has 335.9° hue, 72.5% saturation and 48.4% lightness. The process color (CMYK) is combination of 0% cyan, 84.04% magenta, 50.23% yellow and 16.47% key (black). The closest short hexadecimal code of #d5226a is #d26.
Example CSS code:
.setFontColor { color: #d5226a; }
.setBackgroundColor { background-color: #d5226a; }
How to set font color?
<p style="color:#d5226a">Font color is #d5226a.</p>
Font color is #d5226a.
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:#d5226a">Background color is #d5226a.</div>
Background color is #d5226a.
Compromise in colors is grey.
- Edi Rama