Hex color #2d274c, RGB(45, 39, 76) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2d274c is a shade of blue. In a RGB color space it is composed of 17.65% red, 15.29% green and 29.8% blue. In HSL notation it has 249.7° hue, 32.2% saturation and 22.5% lightness. The process color (CMYK) is combination of 40.79% cyan, 48.68% magenta, 0% yellow and 70.20% key (black). The closest short hexadecimal code of #2d274c is #224.
Example CSS code:
.setFontColor { color: #2d274c; }
.setBackgroundColor { background-color: #2d274c; }
How to set font color?
<p style="color:#2d274c">Font color is #2d274c.</p>
Font color is #2d274c.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#2d274c">Background color is #2d274c.</div>
Background color is #2d274c.
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