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