Hex color #2c3aa2, RGB(44, 58, 162) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2c3aa2 is a shade of blue. In a RGB color space it is composed of 17.25% red, 22.75% green and 63.53% blue. In HSL notation it has 232.9° hue, 57.3% saturation and 40.4% lightness. The process color (CMYK) is combination of 72.84% cyan, 64.20% magenta, 0% yellow and 36.47% key (black). The closest short hexadecimal code of #2c3aa2 is #23a.
Example CSS code:
.setFontColor { color: #2c3aa2; }
.setBackgroundColor { background-color: #2c3aa2; }
How to set font color?
<p style="color:#2c3aa2">Font color is #2c3aa2.</p>
Font color is #2c3aa2.
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:#2c3aa2">Background color is #2c3aa2.</div>
Background color is #2c3aa2.
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