Hex color #2f0d19, RGB(47, 13, 25) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2f0d19 is a shade of red-magenta. In a RGB color space it is composed of 18.43% red, 5.1% green and 9.8% blue. In HSL notation it has 338.8° hue, 56.7% saturation and 11.8% lightness. The process color (CMYK) is combination of 0% cyan, 72.34% magenta, 46.81% yellow and 81.57% key (black). The closest short hexadecimal code of #2f0d19 is #201.
Example CSS code:
.setFontColor { color: #2f0d19; }
.setBackgroundColor { background-color: #2f0d19; }
How to set font color?
<p style="color:#2f0d19">Font color is #2f0d19.</p>
Font color is #2f0d19.
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:#2f0d19">Background color is #2f0d19.</div>
Background color is #2f0d19.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant