Hex color #6d42e4, RGB(109, 66, 228) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6d42e4 is a shade of blue-magenta. In a RGB color space it is composed of 42.75% red, 25.88% green and 89.41% blue. In HSL notation it has 255.9° hue, 75% saturation and 57.6% lightness. The process color (CMYK) is combination of 52.19% cyan, 71.05% magenta, 0% yellow and 10.59% key (black). The closest short hexadecimal code of #6d42e4 is #64e.
Example CSS code:
.setFontColor { color: #6d42e4; }
.setBackgroundColor { background-color: #6d42e4; }
How to set font color?
<p style="color:#6d42e4">Font color is #6d42e4.</p>
Font color is #6d42e4.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#6d42e4">Background color is #6d42e4.</div>
Background color is #6d42e4.
Compromise in colors is grey.
- Edi Rama