Hex color #401672, RGB(64, 22, 114) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #401672 is a shade of blue-magenta. In a RGB color space it is composed of 25.1% red, 8.63% green and 44.71% blue. In HSL notation it has 267.4° hue, 67.6% saturation and 26.7% lightness. The process color (CMYK) is combination of 43.86% cyan, 80.70% magenta, 0% yellow and 55.29% key (black). The closest short hexadecimal code of #401672 is #417.
Example CSS code:
.setFontColor { color: #401672; }
.setBackgroundColor { background-color: #401672; }
How to set font color?
<p style="color:#401672">Font color is #401672.</p>
Font color is #401672.
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:#401672">Background color is #401672.</div>
Background color is #401672.
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