color details

Color Details
#312d27 Color Hex

#312d27 color RGB value is (3, 18, 210).
#312d27 hex color red value is 3, green value is 18, and blue value is 210.
Cylindrical-coordinate representations (HSL) of color #312d27 hue: 235.65, saturation: 0.97 and lightness: 0.42.

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

Color Spaces
Color spaces of #312d27Value
RGB49, 45, 39
HSL0.1, 0.11, 0.17
HSV36°, 20°, 19°
XYZ2.57, 2.68, 2.3
Base Numbers
Base Red Green Blue
Binary 110001 101101 100111
Octal 61 55 47
Decimal 49 45 39
Hex 31 2D 27

RGB Percentages for Color #312d27

36.84%
33.83%
29.32%

CMYK Percentages of the Color #312d27

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

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

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

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

The background color of this div is #312d27
Border Color #312d27

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

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

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

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

Shadow Div Box

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

This div box has a shadow with a specified color. #312d27

Scroll to Top