Hex color #2c0c5c, RGB(44, 12, 92) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2c0c5c is a shade of blue-magenta. In a RGB color space it is composed of 17.25% red, 4.71% green and 36.08% blue. In HSL notation it has 264° hue, 76.9% saturation and 20.4% lightness. The process color (CMYK) is combination of 52.17% cyan, 86.96% magenta, 0% yellow and 63.92% key (black). The closest short hexadecimal code of #2c0c5c is #205.
Example CSS code:
.setFontColor { color: #2c0c5c; }
.setBackgroundColor { background-color: #2c0c5c; }
How to set font color?
<p style="color:#2c0c5c">Font color is #2c0c5c.</p>
Font color is #2c0c5c.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#2c0c5c">Background color is #2c0c5c.</div>
Background color is #2c0c5c.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage