Hex color #240822, RGB(36, 8, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #240822 is a shade of magenta. In a RGB color space it is composed of 14.12% red, 3.14% green and 13.33% blue. In HSL notation it has 304.3° hue, 63.6% saturation and 8.6% lightness. The process color (CMYK) is combination of 0% cyan, 77.78% magenta, 5.56% yellow and 85.88% key (black). The closest short hexadecimal code of #240822 is #202.
Example CSS code:
.setFontColor { color: #240822; }
.setBackgroundColor { background-color: #240822; }
How to set font color?
<p style="color:#240822">Font color is #240822.</p>
Font color is #240822.
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:#240822">Background color is #240822.</div>
Background color is #240822.
Compromise in colors is grey.
- Edi Rama