Hex color #2c3989, RGB(44, 57, 137) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2c3989 is a shade of blue. In a RGB color space it is composed of 17.25% red, 22.35% green and 53.73% blue. In HSL notation it has 231.6° hue, 51.4% saturation and 35.5% lightness. The process color (CMYK) is combination of 67.88% cyan, 58.39% magenta, 0% yellow and 46.27% key (black). The closest short hexadecimal code of #2c3989 is #238.
Example CSS code:
.setFontColor { color: #2c3989; }
.setBackgroundColor { background-color: #2c3989; }
How to set font color?
<p style="color:#2c3989">Font color is #2c3989.</p>
Font color is #2c3989.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#2c3989">Background color is #2c3989.</div>
Background color is #2c3989.
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