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