color details

Color Details
#402e0e Color Hex

#402e0e color RGB value is (4, 2, 224).
#402e0e hex color red value is 4, green value is 2, and blue value is 224.
Cylindrical-coordinate representations (HSL) of color #402e0e hue: 240.54, saturation: 0.98 and lightness: 0.44.

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

Color Spaces
Color spaces of #402e0eValue
RGB64, 46, 14
HSL0.11, 0.64, 0.15
HSV38°, 78°, 25°
XYZ3.17, 3.08, 0.84
Base Numbers
Base Red Green Blue
Binary 1000000 101110 1110
Octal 100 56 16
Decimal 64 46 14
Hex 40 2E E

RGB Percentages for Color #402e0e

51.61%
37.1%
11.29%

CMYK Percentages of the Color #402e0e

28.13%
78.13%
74.9%
CSS Codes for Color #402e0e
.mybgColor {background-color: #402e0e;}
.myforeColor {color: #402e0e;}
.myborderColor {border:3px solid #402e0e;}
Text Font Color #402e0e

<p style="color:#402e0e">Text here</p>

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

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

The background color of this div is #402e0e
Border Color #402e0e

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

The border color of this div is #402e0e
Css3 Examples
            .textShadowRgb {
                text-shadow: 4px 4px 2px rgba(64, 46, 14, 0.8);            }
            .textShadowHex {
                text-shadow: 4px 4px 2px #402e0e;            }
            .divShadow {
                -moz-box-shadow: 1px 1px 3px #402e0e;
-webkit-box-shadow: 1px 1px 3px #402e0e;
box-shadow: 1px 1px 3px #402e0e;            }
            
Text Shadow Using RGB Values

<p style="text-shadow: 4px 4px 2px rgba(64, 46, 14, 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 #402e0e;">Text here</p>

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

Shadow Div Box

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

This div box has a shadow with a specified color. #402e0e

Scroll to Top