Hex color #226ad5, RGB(34, 106, 213) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #226ad5 is a shade of blue-cyan. In a RGB color space it is composed of 13.33% red, 41.57% green and 83.53% blue. In HSL notation it has 215.9° hue, 72.5% saturation and 48.4% lightness. The process color (CMYK) is combination of 84.04% cyan, 50.23% magenta, 0% yellow and 16.47% key (black). The closest short hexadecimal code of #226ad5 is #26d.
Example CSS code:
.setFontColor { color: #226ad5; }
.setBackgroundColor { background-color: #226ad5; }
How to set font color?
<p style="color:#226ad5">Font color is #226ad5.</p>
Font color is #226ad5.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#226ad5">Background color is #226ad5.</div>
Background color is #226ad5.
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