Hex color #5f1c1e, RGB(95, 28, 30) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5f1c1e is a shade of red. In a RGB color space it is composed of 37.25% red, 10.98% green and 11.76% blue. In HSL notation it has 358.2° hue, 54.5% saturation and 24.1% lightness. The process color (CMYK) is combination of 0% cyan, 70.53% magenta, 68.42% yellow and 62.75% key (black). The closest short hexadecimal code of #5f1c1e is #511.
Example CSS code:
.setFontColor { color: #5f1c1e; }
.setBackgroundColor { background-color: #5f1c1e; }
How to set font color?
<p style="color:#5f1c1e">Font color is #5f1c1e.</p>
Font color is #5f1c1e.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#5f1c1e">Background color is #5f1c1e.</div>
Background color is #5f1c1e.
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