Hex color #6941e1, RGB(105, 65, 225) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6941e1 is a shade of blue-magenta. In a RGB color space it is composed of 41.18% red, 25.49% green and 88.24% blue. In HSL notation it has 255° hue, 72.7% saturation and 56.9% lightness. The process color (CMYK) is combination of 53.33% cyan, 71.11% magenta, 0% yellow and 11.76% key (black). The closest short hexadecimal code of #6941e1 is #64e.
Example CSS code:
.setFontColor { color: #6941e1; }
.setBackgroundColor { background-color: #6941e1; }
How to set font color?
<p style="color:#6941e1">Font color is #6941e1.</p>
Font color is #6941e1.
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:#6941e1">Background color is #6941e1.</div>
Background color is #6941e1.
Compromise in colors is grey.
- Edi Rama