Hex color #6d21f8, RGB(109, 33, 248) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6d21f8 is a shade of blue-magenta. In a RGB color space it is composed of 42.75% red, 12.94% green and 97.25% blue. In HSL notation it has 261.2° hue, 93.9% saturation and 55.1% lightness. The process color (CMYK) is combination of 56.05% cyan, 86.69% magenta, 0% yellow and 2.75% key (black). The closest short hexadecimal code of #6d21f8 is #62f.
Example CSS code:
.setFontColor { color: #6d21f8; }
.setBackgroundColor { background-color: #6d21f8; }
How to set font color?
<p style="color:#6d21f8">Font color is #6d21f8.</p>
Font color is #6d21f8.
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:#6d21f8">Background color is #6d21f8.</div>
Background color is #6d21f8.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage