Hex color #5b0b0c, RGB(91, 11, 12) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5b0b0c is a shade of red. In a RGB color space it is composed of 35.69% red, 4.31% green and 4.71% blue. In HSL notation it has 359.2° hue, 78.4% saturation and 20% lightness. The process color (CMYK) is combination of 0% cyan, 87.91% magenta, 86.81% yellow and 64.31% key (black). The closest short hexadecimal code of #5b0b0c is #500.
Example CSS code:
.setFontColor { color: #5b0b0c; }
.setBackgroundColor { background-color: #5b0b0c; }
How to set font color?
<p style="color:#5b0b0c">Font color is #5b0b0c.</p>
Font color is #5b0b0c.
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:#5b0b0c">Background color is #5b0b0c.</div>
Background color is #5b0b0c.
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