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