Hex color #2161b8, RGB(33, 97, 184) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2161b8 is a shade of blue-cyan. In a RGB color space it is composed of 12.94% red, 38.04% green and 72.16% blue. In HSL notation it has 214.6° hue, 69.6% saturation and 42.5% lightness. The process color (CMYK) is combination of 82.07% cyan, 47.28% magenta, 0% yellow and 27.84% key (black). The closest short hexadecimal code of #2161b8 is #26b.
Example CSS code:
.setFontColor { color: #2161b8; }
.setBackgroundColor { background-color: #2161b8; }
How to set font color?
<p style="color:#2161b8">Font color is #2161b8.</p>
Font color is #2161b8.
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
How to set background color?
<div style="background-color:#2161b8">Background color is #2161b8.</div>
Background color is #2161b8.
Compromise in colors is grey.
- Edi Rama