Hex color #b40e0e, RGB(180, 14, 14) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #b40e0e is a shade of red. In a RGB color space it is composed of 70.59% red, 5.49% green and 5.49% blue. In HSL notation it has 0° hue, 85.6% saturation and 38% lightness. The process color (CMYK) is combination of 0% cyan, 92.22% magenta, 92.22% yellow and 29.41% key (black). The closest short hexadecimal code of #b40e0e is #b00.
Example CSS code:
.setFontColor { color: #b40e0e; }
.setBackgroundColor { background-color: #b40e0e; }
How to set font color?
<p style="color:#b40e0e">Font color is #b40e0e.</p>
Font color is #b40e0e.
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:#b40e0e">Background color is #b40e0e.</div>
Background color is #b40e0e.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage