color details

Color Details
#313131 Color Hex

#313131 color RGB value is (3, 19, 19).
#313131 hex color red value is 3, green value is 19, and blue value is 19.
Cylindrical-coordinate representations (HSL) of color #313131 hue: 180, saturation: 0.73 and lightness: 0.04.

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

Color Spaces
Color spaces of #313131Value
RGB49, 49, 49
HSL0, 0, 0.19
HSV0°, 0°, 19°
XYZ2.92, 3.07, 3.34
Base Numbers
Base Red Green Blue
Binary 110001 110001 110001
Octal 61 61 61
Decimal 49 49 49
Hex 31 31 31

RGB Percentages for Color #313131

33.33%
33.33%
33.33%

CMYK Percentages of the Color #313131

80.78%
CSS Codes for Color #313131
.mybgColor {background-color: #313131;}
.myforeColor {color: #313131;}
.myborderColor {border:3px solid #313131;}
Text Font Color #313131

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

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

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

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

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

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

<p style="text-shadow: 4px 4px 2px rgba(49, 49, 49, 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 #313131;">Text here</p>

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

Shadow Div Box

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

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

Scroll to Top