Hex color #420642, RGB(66, 6, 66) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #420642 is a shade of magenta. In a RGB color space it is composed of 25.88% red, 2.35% green and 25.88% blue. In HSL notation it has 300° hue, 83.3% saturation and 14.1% lightness. The process color (CMYK) is combination of 0% cyan, 90.91% magenta, 0% yellow and 74.12% key (black). The closest short hexadecimal code of #420642 is #404.
Example CSS code:
.setFontColor { color: #420642; }
.setBackgroundColor { background-color: #420642; }
How to set font color?
<p style="color:#420642">Font color is #420642.</p>
Font color is #420642.
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
How to set background color?
<div style="background-color:#420642">Background color is #420642.</div>
Background color is #420642.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage