Hex color #4218c8, RGB(66, 24, 200) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4218c8 is a shade of blue. In a RGB color space it is composed of 25.88% red, 9.41% green and 78.43% blue. In HSL notation it has 254.3° hue, 78.6% saturation and 43.9% lightness. The process color (CMYK) is combination of 67% cyan, 88% magenta, 0% yellow and 21.57% key (black). The closest short hexadecimal code of #4218c8 is #41c.
Example CSS code:
.setFontColor { color: #4218c8; }
.setBackgroundColor { background-color: #4218c8; }
How to set font color?
<p style="color:#4218c8">Font color is #4218c8.</p>
Font color is #4218c8.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#4218c8">Background color is #4218c8.</div>
Background color is #4218c8.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage