Hex color #228af0, RGB(34, 138, 240) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #228af0 is a shade of blue-cyan. In a RGB color space it is composed of 13.33% red, 54.12% green and 94.12% blue. In HSL notation it has 209.7° hue, 87.3% saturation and 53.7% lightness. The process color (CMYK) is combination of 85.83% cyan, 42.5% magenta, 0% yellow and 5.88% key (black). The closest short hexadecimal code of #228af0 is #28f.
Example CSS code:
.setFontColor { color: #228af0; }
.setBackgroundColor { background-color: #228af0; }
How to set font color?
<p style="color:#228af0">Font color is #228af0.</p>
Font color is #228af0.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#228af0">Background color is #228af0.</div>
Background color is #228af0.
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