COLOR #315157

HEX: #315157
RGB: (49,81,87)

Color info

#315157 contains red, green and blue colors in about the same proportion. Web safe color of #315157 is #336666 (or #366).

RGB color model

#315157 color RGB value is (49,81,87).

  • red value is 49;
  • green value is 81;
  • blue value is 87.
RGB:
(49,81,87)
(19%,32%,34%)

RGB channels and saturation

R 49 of 255 = 19%
G 81 of 255 = 32%
B 87 of 255 = 34%

49
81
87

R + G + B ~ 28%. #315157 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 81 + 87 = 217 (100%)
R 49 of 217 ~ 22.58%
G 81 of 217 ~ 37.33%
B 87 of 217 ~ 40.09%

%22.58
%37.33
%40.09

CMYK color model

#315157 color CMYK value is (44,7,0,66).

  • cyan value is 43.68%
  • magenta value is 6.90%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(44,7,0,66)
C44M7Y0K66 
(44%,7%,0%,66%)
(0.44/0.07/0.00/0.66)	

CMYK percentages

%43.68
%6.9
%0
%65.88

Codes

Color #315157 in popluar color models

315157
RGB498187
HSL189°27.94%26.67%
HSB/HSV189°43.68%34.12%
CMYK43.68%6.90%0.00%
65.88%

Color #315157 in popluar number systems.

HEX315157
Decimal498187
Binary11000110100011010111
Octal61121127

Shades and tints

Shades of #315157

#315157
(49,81,87)
#2D4A50
(45,74,80)
#294349
(41,67,73)
#253C42
(37,60,66)
#21353B
(33,53,59)
#1D2E34
(29,46,52)
#19272D
(25,39,45)
#152026
(21,32,38)
#11191F
(17,25,31)
#0D1218
(13,18,24)
#090B11
(9,11,17)
#000000
(0,0,0)

Tints of #315157

#315157
(49,81,87)
#436066
(67,96,102)
#556F75
(85,111,117)
#677E84
(103,126,132)
#798D93
(121,141,147)
#8B9CA2
(139,156,162)
#9DABB1
(157,171,177)
#AFBAC0
(175,186,192)
#C1C9CF
(193,201,207)
#D3D8DE
(211,216,222)
#E5E7ED
(229,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #315157 color. Also use rgb(49,81,87) instead hex code.

Text Font Color

.myTextColor { color: #315157; }

<p style="color:#315157">This sample text font color is #315157.</p>

This text font color is #315157.


Background Color

.myBgColor { background-color: #315157; }

<div style="background-color:#315157">Inner text</div>

This div background color is #315157.


Border color

.myBorderColor { border: 1px solid #315157; }

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

This div border color is #315157.


Opacity

.myOpacity80 { color: #315157; opacity: 0.8; }

<p style="color:#315157;opacity:0.8;">80%</p>

Text with #315157 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #315157;}

<p style="text-shadow: 3px 3px 1px #315157">Text here.</p>

This text has shadow with #315157 color.

.textShadow {text-shadow: 3px 3px 1px #315157, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #315157, 5px 5px 20px red">Text here.</p>

This text has shadow with #315157 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#315157, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#315157, Direction=45, Strength=4)">Text</p>

This text has shadow with #315157 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #315157;
  -webkit-box-shadow:	1px 1px 3px 2px #315157;
  box-shadow:		1px 1px 3px 2px #315157;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #315157;
-webkit-box-shadow: 1px 1px 3px 2px #315157;
box-shadow:1px 1px 3px 2px #315157;">
Div content here</div>
This div box has shadow with color #315157.

Preview

Color preview on black background

This text has color #315157 on black background.


Color preview on white background

This text has color #315157 on white background.



Black color preview on #315157 background

This text has black color on #315157 background.


White color preview on #315157 background

This text has white color on #315157 background.