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