Hex color #2418c1, RGB(36, 24, 193) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2418c1 is a shade of blue. In a RGB color space it is composed of 14.12% red, 9.41% green and 75.69% blue. In HSL notation it has 244.3° hue, 77.9% saturation and 42.5% lightness. The process color (CMYK) is combination of 81.35% cyan, 87.56% magenta, 0% yellow and 24.31% key (black). The closest short hexadecimal code of #2418c1 is #21c.
Example CSS code:
.setFontColor { color: #2418c1; }
.setBackgroundColor { background-color: #2418c1; }
How to set font color?
<p style="color:#2418c1">Font color is #2418c1.</p>
Font color is #2418c1.
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:#2418c1">Background color is #2418c1.</div>
Background color is #2418c1.
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