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