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