Hex color #28241c, RGB(40, 36, 28) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #28241c is a shade of red-yellow. In a RGB color space it is composed of 15.69% red, 14.12% green and 10.98% blue. In HSL notation it has 40° hue, 17.6% saturation and 13.3% lightness. The process color (CMYK) is combination of 0% cyan, 10% magenta, 30% yellow and 84.31% key (black). The closest short hexadecimal code of #28241c is #221.
Example CSS code:
.setFontColor { color: #28241c; }
.setBackgroundColor { background-color: #28241c; }
How to set font color?
<p style="color:#28241c">Font color is #28241c.</p>
Font color is #28241c.
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:#28241c">Background color is #28241c.</div>
Background color is #28241c.
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