Hex color #5a0f25, RGB(90, 15, 37) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5a0f25 is a shade of red-magenta. In a RGB color space it is composed of 35.29% red, 5.88% green and 14.51% blue. In HSL notation it has 342.4° hue, 71.4% saturation and 20.6% lightness. The process color (CMYK) is combination of 0% cyan, 83.33% magenta, 58.89% yellow and 64.71% key (black). The closest short hexadecimal code of #5a0f25 is #502.
Example CSS code:
.setFontColor { color: #5a0f25; }
.setBackgroundColor { background-color: #5a0f25; }
How to set font color?
<p style="color:#5a0f25">Font color is #5a0f25.</p>
Font color is #5a0f25.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#5a0f25">Background color is #5a0f25.</div>
Background color is #5a0f25.
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