Hex color #5a0f12, RGB(90, 15, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5a0f12 is a shade of red. In a RGB color space it is composed of 35.29% red, 5.88% green and 7.06% blue. In HSL notation it has 357.6° hue, 71.4% saturation and 20.6% lightness. The process color (CMYK) is combination of 0% cyan, 83.33% magenta, 80% yellow and 64.71% key (black). The closest short hexadecimal code of #5a0f12 is #501.
Example CSS code:
.setFontColor { color: #5a0f12; }
.setBackgroundColor { background-color: #5a0f12; }
How to set font color?
<p style="color:#5a0f12">Font color is #5a0f12.</p>
Font color is #5a0f12.
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
How to set background color?
<div style="background-color:#5a0f12">Background color is #5a0f12.</div>
Background color is #5a0f12.
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