Hex color #240e61, RGB(36, 14, 97) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #240e61 is a shade of blue-magenta. In a RGB color space it is composed of 14.12% red, 5.49% green and 38.04% blue. In HSL notation it has 255.9° hue, 74.8% saturation and 21.8% lightness. The process color (CMYK) is combination of 62.89% cyan, 85.57% magenta, 0% yellow and 61.96% key (black). The closest short hexadecimal code of #240e61 is #206.
Example CSS code:
.setFontColor { color: #240e61; }
.setBackgroundColor { background-color: #240e61; }
How to set font color?
<p style="color:#240e61">Font color is #240e61.</p>
Font color is #240e61.
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:#240e61">Background color is #240e61.</div>
Background color is #240e61.
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