Hex color #38122a, RGB(56, 18, 42) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #38122a is a shade of red-magenta. In a RGB color space it is composed of 21.96% red, 7.06% green and 16.47% blue. In HSL notation it has 322.1° hue, 51.4% saturation and 14.5% lightness. The process color (CMYK) is combination of 0% cyan, 67.86% magenta, 25% yellow and 78.04% key (black). The closest short hexadecimal code of #38122a is #312.
Example CSS code:
.setFontColor { color: #38122a; }
.setBackgroundColor { background-color: #38122a; }
How to set font color?
<p style="color:#38122a">Font color is #38122a.</p>
Font color is #38122a.
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:#38122a">Background color is #38122a.</div>
Background color is #38122a.
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