Hex color #2a5665, RGB(42, 86, 101) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2a5665 is a shade of blue-cyan. In a RGB color space it is composed of 16.47% red, 33.73% green and 39.61% blue. In HSL notation it has 195.3° hue, 41.3% saturation and 28% lightness. The process color (CMYK) is combination of 58.42% cyan, 14.85% magenta, 0% yellow and 60.39% key (black). The closest short hexadecimal code of #2a5665 is #256.
Example CSS code:
.setFontColor { color: #2a5665; }
.setBackgroundColor { background-color: #2a5665; }
How to set font color?
<p style="color:#2a5665">Font color is #2a5665.</p>
Font color is #2a5665.
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:#2a5665">Background color is #2a5665.</div>
Background color is #2a5665.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore