Hex color #000080, RGB(0, 0, 128) - also known as navy - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #000080 is a shade of blue. In a RGB color space it is composed of 0% red, 0% green and 50.2% blue. In HSL notation it has 240° hue, 100% saturation and 25.1% lightness. The process color (CMYK) is combination of 100% cyan, 100% magenta, 0% yellow and 49.80% key (black). The closest short hexadecimal code of #000080 is #008.
Example CSS code:
.setFontColor { color: #000080; }
.setBackgroundColor { background-color: #000080; }
How to set font color?
<p style="color:#000080">Font color is #000080.</p>
Font color is #000080.
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
How to set background color?
<div style="background-color:#000080">Background color is #000080.</div>
Background color is #000080.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage