Hex color #ba3a8b, RGB(186, 58, 139) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ba3a8b is a shade of red-magenta. In a RGB color space it is composed of 72.94% red, 22.75% green and 54.51% blue. In HSL notation it has 322° hue, 52.5% saturation and 47.8% lightness. The process color (CMYK) is combination of 0% cyan, 68.82% magenta, 25.27% yellow and 27.06% key (black). The closest short hexadecimal code of #ba3a8b is #b38.
Example CSS code:
.setFontColor { color: #ba3a8b; }
.setBackgroundColor { background-color: #ba3a8b; }
How to set font color?
<p style="color:#ba3a8b">Font color is #ba3a8b.</p>
Font color is #ba3a8b.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#ba3a8b">Background color is #ba3a8b.</div>
Background color is #ba3a8b.
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