Hex color #2b71ad, RGB(43, 113, 173) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2b71ad is a shade of blue-cyan. In a RGB color space it is composed of 16.86% red, 44.31% green and 67.84% blue. In HSL notation it has 207.7° hue, 60.2% saturation and 42.4% lightness. The process color (CMYK) is combination of 75.14% cyan, 34.68% magenta, 0% yellow and 32.16% key (black). The closest short hexadecimal code of #2b71ad is #27a.
Example CSS code:
.setFontColor { color: #2b71ad; }
.setBackgroundColor { background-color: #2b71ad; }
How to set font color?
<p style="color:#2b71ad">Font color is #2b71ad.</p>
Font color is #2b71ad.
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:#2b71ad">Background color is #2b71ad.</div>
Background color is #2b71ad.
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