Hex color #252f7d, RGB(37, 47, 125) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #252f7d is a shade of blue. In a RGB color space it is composed of 14.51% red, 18.43% green and 49.02% blue. In HSL notation it has 233.2° hue, 54.3% saturation and 31.8% lightness. The process color (CMYK) is combination of 70.4% cyan, 62.4% magenta, 0% yellow and 50.98% key (black). The closest short hexadecimal code of #252f7d is #227.
Example CSS code:
.setFontColor { color: #252f7d; }
.setBackgroundColor { background-color: #252f7d; }
How to set font color?
<p style="color:#252f7d">Font color is #252f7d.</p>
Font color is #252f7d.
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:#252f7d">Background color is #252f7d.</div>
Background color is #252f7d.
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