Hex color #40413a, RGB(64, 65, 58) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #40413a is a shade of yellow. In a RGB color space it is composed of 25.1% red, 25.49% green and 22.75% blue. In HSL notation it has 68.6° hue, 5.7% saturation and 24.1% lightness. The process color (CMYK) is combination of 1.54% cyan, 0% magenta, 10.77% yellow and 74.51% key (black). The closest short hexadecimal code of #40413a is #443.
Example CSS code:
.setFontColor { color: #40413a; }
.setBackgroundColor { background-color: #40413a; }
How to set font color?
<p style="color:#40413a">Font color is #40413a.</p>
Font color is #40413a.
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
How to set background color?
<div style="background-color:#40413a">Background color is #40413a.</div>
Background color is #40413a.
Compromise in colors is grey.
- Edi Rama