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