Hex color #40093e, RGB(64, 9, 62) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #40093e is a shade of magenta. In a RGB color space it is composed of 25.1% red, 3.53% green and 24.31% blue. In HSL notation it has 302.2° hue, 75.3% saturation and 14.3% lightness. The process color (CMYK) is combination of 0% cyan, 85.94% magenta, 3.12% yellow and 74.90% key (black). The closest short hexadecimal code of #40093e is #403.
Example CSS code:
.setFontColor { color: #40093e; }
.setBackgroundColor { background-color: #40093e; }
How to set font color?
<p style="color:#40093e">Font color is #40093e.</p>
Font color is #40093e.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#40093e">Background color is #40093e.</div>
Background color is #40093e.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage