Hex color #40376a, RGB(64, 55, 106) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #40376a is a shade of blue. In a RGB color space it is composed of 25.1% red, 21.57% green and 41.57% blue. In HSL notation it has 250.6° hue, 31.7% saturation and 31.6% lightness. The process color (CMYK) is combination of 39.62% cyan, 48.11% magenta, 0% yellow and 58.43% key (black). The closest short hexadecimal code of #40376a is #436.
Example CSS code:
.setFontColor { color: #40376a; }
.setBackgroundColor { background-color: #40376a; }
How to set font color?
<p style="color:#40376a">Font color is #40376a.</p>
Font color is #40376a.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#40376a">Background color is #40376a.</div>
Background color is #40376a.
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