Hex color #121126, RGB(18, 17, 38) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #121126 is a shade of blue. In a RGB color space it is composed of 7.06% red, 6.67% green and 14.9% blue. In HSL notation it has 242.9° hue, 38.2% saturation and 10.8% lightness. The process color (CMYK) is combination of 52.63% cyan, 55.26% magenta, 0% yellow and 85.10% key (black). The closest short hexadecimal code of #121126 is #112.
Example CSS code:
.setFontColor { color: #121126; }
.setBackgroundColor { background-color: #121126; }
How to set font color?
<p style="color:#121126">Font color is #121126.</p>
Font color is #121126.
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:#121126">Background color is #121126.</div>
Background color is #121126.
Compromise in colors is grey.
- Edi Rama