Hex color #2d1895, RGB(45, 24, 149) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2d1895 is a shade of blue. In a RGB color space it is composed of 17.65% red, 9.41% green and 58.43% blue. In HSL notation it has 250.1° hue, 72.3% saturation and 33.9% lightness. The process color (CMYK) is combination of 69.80% cyan, 83.89% magenta, 0% yellow and 41.57% key (black). The closest short hexadecimal code of #2d1895 is #219.
Example CSS code:
.setFontColor { color: #2d1895; }
.setBackgroundColor { background-color: #2d1895; }
How to set font color?
<p style="color:#2d1895">Font color is #2d1895.</p>
Font color is #2d1895.
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:#2d1895">Background color is #2d1895.</div>
Background color is #2d1895.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage