Hex color #281220, RGB(40, 18, 32) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #281220 is a shade of red-magenta. In a RGB color space it is composed of 15.69% red, 7.06% green and 12.55% blue. In HSL notation it has 321.8° hue, 37.9% saturation and 11.4% lightness. The process color (CMYK) is combination of 0% cyan, 55% magenta, 20% yellow and 84.31% key (black). The closest short hexadecimal code of #281220 is #212.
Example CSS code:
.setFontColor { color: #281220; }
.setBackgroundColor { background-color: #281220; }
How to set font color?
<p style="color:#281220">Font color is #281220.</p>
Font color is #281220.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#281220">Background color is #281220.</div>
Background color is #281220.
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