color details

Color Details
#312320 Color Hex

#312320 color RGB value is (3, 18, 50).
#312320 hex color red value is 3, green value is 18, and blue value is 50.
Cylindrical-coordinate representations (HSL) of color #312320 hue: 220.85, saturation: 0.89 and lightness: 0.1.

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

Color Spaces
Color spaces of #312320Value
RGB49, 35, 32
HSL0.03, 0.21, 0.16
HSV11°, 35°, 19°
XYZ2.13, 1.96, 1.63
Base Numbers
Base Red Green Blue
Binary 110001 100011 100000
Octal 61 43 40
Decimal 49 35 32
Hex 31 23 20

RGB Percentages for Color #312320

42.24%
30.17%
27.59%

CMYK Percentages of the Color #312320

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

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

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

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

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

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

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

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

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

Shadow Div Box

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

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

Scroll to Top