Hex color #4f0606, RGB(79, 6, 6) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4f0606 is a shade of red. In a RGB color space it is composed of 30.98% red, 2.35% green and 2.35% blue. In HSL notation it has 0° hue, 85.9% saturation and 16.7% lightness. The process color (CMYK) is combination of 0% cyan, 92.41% magenta, 92.41% yellow and 69.02% key (black). The closest short hexadecimal code of #4f0606 is #400.
Example CSS code:
.setFontColor { color: #4f0606; }
.setBackgroundColor { background-color: #4f0606; }
How to set font color?
<p style="color:#4f0606">Font color is #4f0606.</p>
Font color is #4f0606.
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:#4f0606">Background color is #4f0606.</div>
Background color is #4f0606.
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