Hex color #3a135b, RGB(58, 19, 91) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a135b is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 7.45% green and 35.69% blue. In HSL notation it has 272.5° hue, 65.5% saturation and 21.6% lightness. The process color (CMYK) is combination of 36.26% cyan, 79.12% magenta, 0% yellow and 64.31% key (black). The closest short hexadecimal code of #3a135b is #315.
Example CSS code:
.setFontColor { color: #3a135b; }
.setBackgroundColor { background-color: #3a135b; }
How to set font color?
<p style="color:#3a135b">Font color is #3a135b.</p>
Font color is #3a135b.
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:#3a135b">Background color is #3a135b.</div>
Background color is #3a135b.
Compromise in colors is grey.
- Edi Rama