Hex color #050306, RGB(5, 3, 6) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #050306 is a shade of blue-magenta. In a RGB color space it is composed of 1.96% red, 1.18% green and 2.35% blue. In HSL notation it has 280° hue, 33.3% saturation and 1.8% lightness. The process color (CMYK) is combination of 16.67% cyan, 50.00% magenta, 0% yellow and 97.65% key (black). The closest short hexadecimal code of #050306 is #000.
Example CSS code:
.setFontColor { color: #050306; }
.setBackgroundColor { background-color: #050306; }
How to set font color?
<p style="color:#050306">Font color is #050306.</p>
Font color is #050306.
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:#050306">Background color is #050306.</div>
Background color is #050306.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage