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