Hex color #2b1f65, RGB(43, 31, 101) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2b1f65 is a shade of blue. In a RGB color space it is composed of 16.86% red, 12.16% green and 39.61% blue. In HSL notation it has 250.3° hue, 53% saturation and 25.9% lightness. The process color (CMYK) is combination of 57.43% cyan, 69.31% magenta, 0% yellow and 60.39% key (black). The closest short hexadecimal code of #2b1f65 is #216.
Example CSS code:
.setFontColor { color: #2b1f65; }
.setBackgroundColor { background-color: #2b1f65; }
How to set font color?
<p style="color:#2b1f65">Font color is #2b1f65.</p>
Font color is #2b1f65.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#2b1f65">Background color is #2b1f65.</div>
Background color is #2b1f65.
Compromise in colors is grey.
- Edi Rama