Hex color #3a055c, RGB(58, 5, 92) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a055c is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 1.96% green and 36.08% blue. In HSL notation it has 276.6° hue, 89.7% saturation and 19% lightness. The process color (CMYK) is combination of 36.96% cyan, 94.57% magenta, 0% yellow and 63.92% key (black). The closest short hexadecimal code of #3a055c is #305.
Example CSS code:
.setFontColor { color: #3a055c; }
.setBackgroundColor { background-color: #3a055c; }
How to set font color?
<p style="color:#3a055c">Font color is #3a055c.</p>
Font color is #3a055c.
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:#3a055c">Background color is #3a055c.</div>
Background color is #3a055c.
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