#424242 color RGB value is (4, 36, 36).
#424242 hex color red value is 4, green value is 36, and blue value is 36.
Cylindrical-coordinate representations (HSL) of color #424242
hue: 180,
saturation: 0.8 and lightness: 0.08.
The process color (four-color CMYK) of #424242 color hex is 0.00, 0.28, 0.40, 0.03. Web safe color of #424242 is #ff9999. Color #424242 contains mainly RED.
| Color spaces of #424242 | Value |
|---|---|
| RGB | 66, 66, 66 |
| HSL | 0, 0, 0.26 |
| HSV | 0°, 0°, 26° |
| XYZ | 5.18, 5.45, 5.93 |
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 1000010 | 1000010 | 1000010 |
| Octal | 102 | 102 | 102 |
| Decimal | 66 | 66 | 66 |
| Hex | 42 | 42 | 42 |
Shades of #424242
Tints of #424242
.mybgColor {background-color: #424242;}
.myforeColor {color: #424242;}
.myborderColor {border:3px solid #424242;}
<p style="color:#424242">Text here</p>
This sample text is styled with the font color #424242. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here,
<div style="background-color:#424242">Div content here</div>
<div style="border:3px solid #424242">Div here</div>
.textShadowRgb {
text-shadow: 4px 4px 2px rgba(66, 66, 66, 0.8); }
.textShadowHex {
text-shadow: 4px 4px 2px #424242; }
.divShadow {
-moz-box-shadow: 1px 1px 3px #424242;
-webkit-box-shadow: 1px 1px 3px #424242;
box-shadow: 1px 1px 3px #424242; }
<p style="text-shadow: 4px 4px 2px rgba(66, 66, 66, 0.8);">Text here</p>
This text has a shadow with RGB values.
<p style="text-shadow: 4px 4px 2px #424242;">Text here</p>
This text has a shadow with hexadecimal (hex) values.
<div style="-moz-box-shadow: 1px 1px 3px #424242;
-webkit-box-shadow: 1px 1px 3px #424242;
box-shadow: 1px 1px 3px #424242;">Div content here</div>
