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