Hex color #6b0d8e, RGB(107, 13, 142) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6b0d8e is a shade of blue-magenta. In a RGB color space it is composed of 41.96% red, 5.1% green and 55.69% blue. In HSL notation it has 283.7° hue, 83.2% saturation and 30.4% lightness. The process color (CMYK) is combination of 24.65% cyan, 90.85% magenta, 0% yellow and 44.31% key (black). The closest short hexadecimal code of #6b0d8e is #608.
Example CSS code:
.setFontColor { color: #6b0d8e; }
.setBackgroundColor { background-color: #6b0d8e; }
How to set font color?
<p style="color:#6b0d8e">Font color is #6b0d8e.</p>
Font color is #6b0d8e.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#6b0d8e">Background color is #6b0d8e.</div>
Background color is #6b0d8e.
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