Hex color #2252b2, RGB(34, 82, 178) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2252b2 is a shade of blue-cyan. In a RGB color space it is composed of 13.33% red, 32.16% green and 69.8% blue. In HSL notation it has 220° hue, 67.9% saturation and 41.6% lightness. The process color (CMYK) is combination of 80.90% cyan, 53.93% magenta, 0% yellow and 30.20% key (black). The closest short hexadecimal code of #2252b2 is #25b.
Example CSS code:
.setFontColor { color: #2252b2; }
.setBackgroundColor { background-color: #2252b2; }
How to set font color?
<p style="color:#2252b2">Font color is #2252b2.</p>
Font color is #2252b2.
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
How to set background color?
<div style="background-color:#2252b2">Background color is #2252b2.</div>
Background color is #2252b2.
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