Hex color #2a4865, RGB(42, 72, 101) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2a4865 is a shade of blue-cyan. In a RGB color space it is composed of 16.47% red, 28.24% green and 39.61% blue. In HSL notation it has 209.5° hue, 41.3% saturation and 28% lightness. The process color (CMYK) is combination of 58.42% cyan, 28.71% magenta, 0% yellow and 60.39% key (black). The closest short hexadecimal code of #2a4865 is #246.
Example CSS code:
.setFontColor { color: #2a4865; }
.setBackgroundColor { background-color: #2a4865; }
How to set font color?
<p style="color:#2a4865">Font color is #2a4865.</p>
Font color is #2a4865.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#2a4865">Background color is #2a4865.</div>
Background color is #2a4865.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage