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