Hex color #28050d, RGB(40, 5, 13) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #28050d is a shade of red. In a RGB color space it is composed of 15.69% red, 1.96% green and 5.1% blue. In HSL notation it has 346.3° hue, 77.8% saturation and 8.8% lightness. The process color (CMYK) is combination of 0% cyan, 87.5% magenta, 67.5% yellow and 84.31% key (black). The closest short hexadecimal code of #28050d is #200.
Example CSS code:
.setFontColor { color: #28050d; }
.setBackgroundColor { background-color: #28050d; }
How to set font color?
<p style="color:#28050d">Font color is #28050d.</p>
Font color is #28050d.
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:#28050d">Background color is #28050d.</div>
Background color is #28050d.
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