Hex color #2b0f44, RGB(43, 15, 68) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2b0f44 is a shade of blue-magenta. In a RGB color space it is composed of 16.86% red, 5.88% green and 26.67% blue. In HSL notation it has 271.7° hue, 63.9% saturation and 16.3% lightness. The process color (CMYK) is combination of 36.76% cyan, 77.94% magenta, 0% yellow and 73.33% key (black). The closest short hexadecimal code of #2b0f44 is #204.
Example CSS code:
.setFontColor { color: #2b0f44; }
.setBackgroundColor { background-color: #2b0f44; }
How to set font color?
<p style="color:#2b0f44">Font color is #2b0f44.</p>
Font color is #2b0f44.
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
How to set background color?
<div style="background-color:#2b0f44">Background color is #2b0f44.</div>
Background color is #2b0f44.
Compromise in colors is grey.
- Edi Rama