Hex color #002f5e, RGB(0, 47, 94) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #002f5e is a shade of blue-cyan. In a RGB color space it is composed of 0% red, 18.43% green and 36.86% blue. In HSL notation it has 210° hue, 100% saturation and 18.4% lightness. The process color (CMYK) is combination of 100% cyan, 50% magenta, 0% yellow and 63.14% key (black). The closest short hexadecimal code of #002f5e is #025.
Example CSS code:
.setFontColor { color: #002f5e; }
.setBackgroundColor { background-color: #002f5e; }
How to set font color?
<p style="color:#002f5e">Font color is #002f5e.</p>
Font color is #002f5e.
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:#002f5e">Background color is #002f5e.</div>
Background color is #002f5e.
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