Hex color #3a3152, RGB(58, 49, 82) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a3152 is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 19.22% green and 32.16% blue. In HSL notation it has 256.4° hue, 25.2% saturation and 25.7% lightness. The process color (CMYK) is combination of 29.27% cyan, 40.24% magenta, 0% yellow and 67.84% key (black). The closest short hexadecimal code of #3a3152 is #335.
Example CSS code:
.setFontColor { color: #3a3152; }
.setBackgroundColor { background-color: #3a3152; }
How to set font color?
<p style="color:#3a3152">Font color is #3a3152.</p>
Font color is #3a3152.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#3a3152">Background color is #3a3152.</div>
Background color is #3a3152.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore