Hex color #4a1a92, RGB(74, 26, 146) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4a1a92 is a shade of blue-magenta. In a RGB color space it is composed of 29.02% red, 10.2% green and 57.25% blue. In HSL notation it has 264° hue, 69.8% saturation and 33.7% lightness. The process color (CMYK) is combination of 49.32% cyan, 82.19% magenta, 0% yellow and 42.75% key (black). The closest short hexadecimal code of #4a1a92 is #419.
Example CSS code:
.setFontColor { color: #4a1a92; }
.setBackgroundColor { background-color: #4a1a92; }
How to set font color?
<p style="color:#4a1a92">Font color is #4a1a92.</p>
Font color is #4a1a92.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#4a1a92">Background color is #4a1a92.</div>
Background color is #4a1a92.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage