Hex color #2e5289, RGB(46, 82, 137) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2e5289 is a shade of blue-cyan. In a RGB color space it is composed of 18.04% red, 32.16% green and 53.73% blue. In HSL notation it has 216.3° hue, 49.7% saturation and 35.9% lightness. The process color (CMYK) is combination of 66.42% cyan, 40.15% magenta, 0% yellow and 46.27% key (black). The closest short hexadecimal code of #2e5289 is #258.
Example CSS code:
.setFontColor { color: #2e5289; }
.setBackgroundColor { background-color: #2e5289; }
How to set font color?
<p style="color:#2e5289">Font color is #2e5289.</p>
Font color is #2e5289.
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:#2e5289">Background color is #2e5289.</div>
Background color is #2e5289.
Compromise in colors is grey.
- Edi Rama