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