Hex color #541454, RGB(84, 20, 84) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #541454 is a shade of magenta. In a RGB color space it is composed of 32.94% red, 7.84% green and 32.94% blue. In HSL notation it has 300° hue, 61.5% saturation and 20.4% lightness. The process color (CMYK) is combination of 0% cyan, 76.19% magenta, 0% yellow and 67.06% key (black). The closest short hexadecimal code of #541454 is #515.
Example CSS code:
.setFontColor { color: #541454; }
.setBackgroundColor { background-color: #541454; }
How to set font color?
<p style="color:#541454">Font color is #541454.</p>
Font color is #541454.
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:#541454">Background color is #541454.</div>
Background color is #541454.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage