Hex color #2987c4, RGB(41, 135, 196) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2987c4 is a shade of blue-cyan. In a RGB color space it is composed of 16.08% red, 52.94% green and 76.86% blue. In HSL notation it has 203.6° hue, 65.4% saturation and 46.5% lightness. The process color (CMYK) is combination of 79.08% cyan, 31.12% magenta, 0% yellow and 23.14% key (black). The closest short hexadecimal code of #2987c4 is #28c.
Example CSS code:
.setFontColor { color: #2987c4; }
.setBackgroundColor { background-color: #2987c4; }
How to set font color?
<p style="color:#2987c4">Font color is #2987c4.</p>
Font color is #2987c4.
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:#2987c4">Background color is #2987c4.</div>
Background color is #2987c4.
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