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