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