Hex color #5f2269, RGB(95, 34, 105) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5f2269 is a shade of magenta. In a RGB color space it is composed of 37.25% red, 13.33% green and 41.18% blue. In HSL notation it has 291.5° hue, 51.1% saturation and 27.3% lightness. The process color (CMYK) is combination of 9.52% cyan, 67.62% magenta, 0% yellow and 58.82% key (black). The closest short hexadecimal code of #5f2269 is #526.
Example CSS code:
.setFontColor { color: #5f2269; }
.setBackgroundColor { background-color: #5f2269; }
How to set font color?
<p style="color:#5f2269">Font color is #5f2269.</p>
Font color is #5f2269.
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:#5f2269">Background color is #5f2269.</div>
Background color is #5f2269.
Compromise in colors is grey.
- Edi Rama