Hex color #6f4cff, RGB(111, 76, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6f4cff is a shade of blue. In a RGB color space it is composed of 43.53% red, 29.8% green and 100% blue. In HSL notation it has 251.7° hue, 100% saturation and 64.9% lightness. The process color (CMYK) is combination of 56.47% cyan, 70.20% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #6f4cff is #64f.
Example CSS code:
.setFontColor { color: #6f4cff; }
.setBackgroundColor { background-color: #6f4cff; }
How to set font color?
<p style="color:#6f4cff">Font color is #6f4cff.</p>
Font color is #6f4cff.
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:#6f4cff">Background color is #6f4cff.</div>
Background color is #6f4cff.
Compromise in colors is grey.
- Edi Rama