Hex color #301134, RGB(48, 17, 52) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #301134 is a shade of magenta. In a RGB color space it is composed of 18.82% red, 6.67% green and 20.39% blue. In HSL notation it has 293.1° hue, 50.7% saturation and 13.5% lightness. The process color (CMYK) is combination of 7.69% cyan, 67.31% magenta, 0% yellow and 79.61% key (black). The closest short hexadecimal code of #301134 is #313.
Example CSS code:
.setFontColor { color: #301134; }
.setBackgroundColor { background-color: #301134; }
How to set font color?
<p style="color:#301134">Font color is #301134.</p>
Font color is #301134.
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:#301134">Background color is #301134.</div>
Background color is #301134.
Compromise in colors is grey.
- Edi Rama