Hex color #2c004d, RGB(44, 0, 77) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2c004d is a shade of blue-magenta. In a RGB color space it is composed of 17.25% red, 0% green and 30.2% blue. In HSL notation it has 274.3° hue, 100% saturation and 15.1% lightness. The process color (CMYK) is combination of 42.86% cyan, 100% magenta, 0% yellow and 69.80% key (black). The closest short hexadecimal code of #2c004d is #204.
Example CSS code:
.setFontColor { color: #2c004d; }
.setBackgroundColor { background-color: #2c004d; }
How to set font color?
<p style="color:#2c004d">Font color is #2c004d.</p>
Font color is #2c004d.
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:#2c004d">Background color is #2c004d.</div>
Background color is #2c004d.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant