Hex color #8f3047, RGB(143, 48, 71) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8f3047 is a shade of red. In a RGB color space it is composed of 56.08% red, 18.82% green and 27.84% blue. In HSL notation it has 345.5° hue, 49.7% saturation and 37.5% lightness. The process color (CMYK) is combination of 0% cyan, 66.43% magenta, 50.35% yellow and 43.92% key (black). The closest short hexadecimal code of #8f3047 is #834.
Example CSS code:
.setFontColor { color: #8f3047; }
.setBackgroundColor { background-color: #8f3047; }
How to set font color?
<p style="color:#8f3047">Font color is #8f3047.</p>
Font color is #8f3047.
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:#8f3047">Background color is #8f3047.</div>
Background color is #8f3047.
Compromise in colors is grey.
- Edi Rama