Hex color #4a0a53, RGB(74, 10, 83) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4a0a53 is a shade of magenta. In a RGB color space it is composed of 29.02% red, 3.92% green and 32.55% blue. In HSL notation it has 292.6° hue, 78.5% saturation and 18.2% lightness. The process color (CMYK) is combination of 10.84% cyan, 87.95% magenta, 0% yellow and 67.45% key (black). The closest short hexadecimal code of #4a0a53 is #405.
Example CSS code:
.setFontColor { color: #4a0a53; }
.setBackgroundColor { background-color: #4a0a53; }
How to set font color?
<p style="color:#4a0a53">Font color is #4a0a53.</p>
Font color is #4a0a53.
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:#4a0a53">Background color is #4a0a53.</div>
Background color is #4a0a53.
Compromise in colors is grey.
- Edi Rama