Hex color #002e96, RGB(0, 46, 150) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #002e96 is a shade of blue-cyan. In a RGB color space it is composed of 0% red, 18.04% green and 58.82% blue. In HSL notation it has 221.6° hue, 100% saturation and 29.4% lightness. The process color (CMYK) is combination of 100% cyan, 69.33% magenta, 0% yellow and 41.18% key (black). The closest short hexadecimal code of #002e96 is #029.
Example CSS code:
.setFontColor { color: #002e96; }
.setBackgroundColor { background-color: #002e96; }
How to set font color?
<p style="color:#002e96">Font color is #002e96.</p>
Font color is #002e96.
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:#002e96">Background color is #002e96.</div>
Background color is #002e96.
Compromise in colors is grey.
- Edi Rama