Hex color #4205b2, RGB(66, 5, 178) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4205b2 is a shade of blue-magenta. In a RGB color space it is composed of 25.88% red, 1.96% green and 69.8% blue. In HSL notation it has 261.2° hue, 94.5% saturation and 35.9% lightness. The process color (CMYK) is combination of 62.92% cyan, 97.19% magenta, 0% yellow and 30.20% key (black). The closest short hexadecimal code of #4205b2 is #40b.
Example CSS code:
.setFontColor { color: #4205b2; }
.setBackgroundColor { background-color: #4205b2; }
How to set font color?
<p style="color:#4205b2">Font color is #4205b2.</p>
Font color is #4205b2.
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:#4205b2">Background color is #4205b2.</div>
Background color is #4205b2.
Compromise in colors is grey.
- Edi Rama