color details

Color Details
#424242 Color Hex

#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
Color spaces of #424242Value
RGB66, 66, 66
HSL0, 0, 0.26
HSV0°, 0°, 26°
XYZ5.18, 5.45, 5.93
Base Numbers
Base Red Green Blue
Binary 1000010 1000010 1000010
Octal 102 102 102
Decimal 66 66 66
Hex 42 42 42

RGB Percentages for Color #424242

33.33%
33.33%
33.33%

CMYK Percentages of the Color #424242

74.12%
CSS Codes for Color #424242
.mybgColor {background-color: #424242;}
.myforeColor {color: #424242;}
.myborderColor {border:3px solid #424242;}
Text Font Color #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,

Background Color #424242

<div style="background-color:#424242">Div content here</div>

The background color of this div is #424242
Border Color #424242

<div style="border:3px solid #424242">Div here</div>

The border color of this div is #424242
Css3 Examples
            .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;            }
            
Text Shadow Using RGB Values

<p style="text-shadow: 4px 4px 2px rgba(66, 66, 66, 0.8);">Text here</p>

This text has a shadow with RGB values.

Text Shadow Using Hex Values

<p style="text-shadow: 4px 4px 2px #424242;">Text here</p>

This text has a shadow with hexadecimal (hex) values.

Shadow Div Box

<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>

This div box has a shadow with a specified color. #424242

Scroll to Top