Hex color #2a8ecd, RGB(42, 142, 205) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2a8ecd is a shade of blue-cyan. In a RGB color space it is composed of 16.47% red, 55.69% green and 80.39% blue. In HSL notation it has 203.2° hue, 66% saturation and 48.4% lightness. The process color (CMYK) is combination of 79.51% cyan, 30.73% magenta, 0% yellow and 19.61% key (black). The closest short hexadecimal code of #2a8ecd is #28c.
Example CSS code:
.setFontColor { color: #2a8ecd; }
.setBackgroundColor { background-color: #2a8ecd; }
How to set font color?
<p style="color:#2a8ecd">Font color is #2a8ecd.</p>
Font color is #2a8ecd.
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:#2a8ecd">Background color is #2a8ecd.</div>
Background color is #2a8ecd.
Compromise in colors is grey.
- Edi Rama