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