Hex color #150c4e, RGB(21, 12, 78) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #150c4e is a shade of blue. In a RGB color space it is composed of 8.24% red, 4.71% green and 30.59% blue. In HSL notation it has 248.2° hue, 73.3% saturation and 17.6% lightness. The process color (CMYK) is combination of 73.08% cyan, 84.62% magenta, 0% yellow and 69.41% key (black). The closest short hexadecimal code of #150c4e is #104.
Example CSS code:
.setFontColor { color: #150c4e; }
.setBackgroundColor { background-color: #150c4e; }
How to set font color?
<p style="color:#150c4e">Font color is #150c4e.</p>
Font color is #150c4e.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#150c4e">Background color is #150c4e.</div>
Background color is #150c4e.
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