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