Hex color #2a0b5b, RGB(42, 11, 91) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2a0b5b is a shade of blue-magenta. In a RGB color space it is composed of 16.47% red, 4.31% green and 35.69% blue. In HSL notation it has 263.2° hue, 78.4% saturation and 20% lightness. The process color (CMYK) is combination of 53.85% cyan, 87.91% magenta, 0% yellow and 64.31% key (black). The closest short hexadecimal code of #2a0b5b is #205.
Example CSS code:
.setFontColor { color: #2a0b5b; }
.setBackgroundColor { background-color: #2a0b5b; }
How to set font color?
<p style="color:#2a0b5b">Font color is #2a0b5b.</p>
Font color is #2a0b5b.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#2a0b5b">Background color is #2a0b5b.</div>
Background color is #2a0b5b.
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