color details

Color Details
#42222c Color Hex

#42222c color RGB value is (4, 34, 34).
#42222c hex color red value is 4, green value is 34, and blue value is 34.
Cylindrical-coordinate representations (HSL) of color #42222c hue: 180, saturation: 0.79 and lightness: 0.07.

The process color (four-color CMYK) of #42222c color hex is 0.00, 0.28, 0.40, 0.03. Web safe color of #42222c is #ff9999. Color #42222c contains mainly RED.

Color Spaces
Color spaces of #42222cValue
RGB66, 34, 44
HSL0.95, 0.32, 0.2
HSV341°, 48°, 26°
XYZ3.27, 2.48, 2.69
Base Numbers
Base Red Green Blue
Binary 1000010 100010 101100
Octal 102 42 54
Decimal 66 34 44
Hex 42 22 2C

RGB Percentages for Color #42222c

45.83%
23.61%
30.56%

CMYK Percentages of the Color #42222c

48.48%
33.33%
74.12%
CSS Codes for Color #42222c
.mybgColor {background-color: #42222c;}
.myforeColor {color: #42222c;}
.myborderColor {border:3px solid #42222c;}
Text Font Color #42222c

<p style="color:#42222c">Text here</p>

This sample text is styled with the font color #42222c. 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 #42222c

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

The background color of this div is #42222c
Border Color #42222c

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

The border color of this div is #42222c
Css3 Examples
            .textShadowRgb {
                text-shadow: 4px 4px 2px rgba(66, 34, 44, 0.8);            }
            .textShadowHex {
                text-shadow: 4px 4px 2px #42222c;            }
            .divShadow {
                -moz-box-shadow: 1px 1px 3px #42222c;
-webkit-box-shadow: 1px 1px 3px #42222c;
box-shadow: 1px 1px 3px #42222c;            }
            
Text Shadow Using RGB Values

<p style="text-shadow: 4px 4px 2px rgba(66, 34, 44, 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 #42222c;">Text here</p>

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

Shadow Div Box

<div style="-moz-box-shadow: 1px 1px 3px #42222c; -webkit-box-shadow: 1px 1px 3px #42222c; box-shadow: 1px 1px 3px #42222c;">Div content here</div>

This div box has a shadow with a specified color. #42222c
Scroll to Top