Hex color #0f125a, RGB(15, 18, 90) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0f125a is a shade of blue. In a RGB color space it is composed of 5.88% red, 7.06% green and 35.29% blue. In HSL notation it has 237.6° hue, 71.4% saturation and 20.6% lightness. The process color (CMYK) is combination of 83.33% cyan, 80% magenta, 0% yellow and 64.71% key (black). The closest short hexadecimal code of #0f125a is #015.
Example CSS code:
.setFontColor { color: #0f125a; }
.setBackgroundColor { background-color: #0f125a; }
How to set font color?
<p style="color:#0f125a">Font color is #0f125a.</p>
Font color is #0f125a.
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:#0f125a">Background color is #0f125a.</div>
Background color is #0f125a.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage