color details

Color Details
#315b7e Color Hex

#315b7e color RGB value is (3, 21, 183).
#315b7e hex color red value is 3, green value is 21, and blue value is 183.
Cylindrical-coordinate representations (HSL) of color #315b7e hue: 234, saturation: 0.97 and lightness: 0.36.

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

Color Spaces
Color spaces of #315b7eValue
RGB49, 91, 126
HSL0.58, 0.44, 0.34
HSV207°, 61°, 49°
XYZ8.77, 9.64, 21.13
Base Numbers
Base Red Green Blue
Binary 110001 1011011 1111110
Octal 61 133 176
Decimal 49 91 126
Hex 31 5B 7E

RGB Percentages for Color #315b7e

18.42%
34.21%
47.37%

CMYK Percentages of the Color #315b7e

61.11%
27.78%
50.59%
CSS Codes for Color #315b7e
.mybgColor {background-color: #315b7e;}
.myforeColor {color: #315b7e;}
.myborderColor {border:3px solid #315b7e;}
Text Font Color #315b7e

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

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

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

The background color of this div is #315b7e
Border Color #315b7e

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

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

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

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

Shadow Div Box

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

This div box has a shadow with a specified color. #315b7e
Scroll to Top