Hex color #2d0e16, RGB(45, 14, 22) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2d0e16 is a shade of red-magenta. In a RGB color space it is composed of 17.65% red, 5.49% green and 8.63% blue. In HSL notation it has 344.5° hue, 52.5% saturation and 11.6% lightness. The process color (CMYK) is combination of 0% cyan, 68.89% magenta, 51.11% yellow and 82.35% key (black). The closest short hexadecimal code of #2d0e16 is #201.
Example CSS code:
.setFontColor { color: #2d0e16; }
.setBackgroundColor { background-color: #2d0e16; }
How to set font color?
<p style="color:#2d0e16">Font color is #2d0e16.</p>
Font color is #2d0e16.
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:#2d0e16">Background color is #2d0e16.</div>
Background color is #2d0e16.
Compromise in colors is grey.
- Edi Rama