Hex color #18101a, RGB(24, 16, 26) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #18101a is a shade of magenta. In a RGB color space it is composed of 9.41% red, 6.27% green and 10.2% blue. In HSL notation it has 288° hue, 23.8% saturation and 8.2% lightness. The process color (CMYK) is combination of 7.69% cyan, 38.46% magenta, 0% yellow and 89.80% key (black). The closest short hexadecimal code of #18101a is #111.
Example CSS code:
.setFontColor { color: #18101a; }
.setBackgroundColor { background-color: #18101a; }
How to set font color?
<p style="color:#18101a">Font color is #18101a.</p>
Font color is #18101a.
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:#18101a">Background color is #18101a.</div>
Background color is #18101a.
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