Hex color #140d28, RGB(20, 13, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #140d28 is a shade of blue-magenta. In a RGB color space it is composed of 7.84% red, 5.1% green and 15.69% blue. In HSL notation it has 255.6° hue, 50.9% saturation and 10.4% lightness. The process color (CMYK) is combination of 50% cyan, 67.5% magenta, 0% yellow and 84.31% key (black). The closest short hexadecimal code of #140d28 is #102.
Example CSS code:
.setFontColor { color: #140d28; }
.setBackgroundColor { background-color: #140d28; }
How to set font color?
<p style="color:#140d28">Font color is #140d28.</p>
Font color is #140d28.
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:#140d28">Background color is #140d28.</div>
Background color is #140d28.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage