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