COLOR #315140

HEX: #315140 RGB: (49,81,64)

Color info

#315140 contains red, green and blue colors in about the same proportion. Web safe color of #315140 is #336633 (or #363).

RGB color model

#315140 color RGB value is (49,81,64).

RGB: (49,81,64) (19%, 32%, 25%)

RGB channels and saturation

R 49 of 255 = 19%
G 81 of 255 = 32%
B 64 of 255 = 25%

49
81
64

R + G + B ~ 25%. #315140 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 81 + 64 = 194 (100%)
R 49 of 194 ~ 25.26%
G 81 of 194 ~ 41.75%
B 64 of 194 ~ 32.99'%

%25.26
%41.75
%32.99

CMYK color model

#315140 color CMYK value is (40,0,21,68).

  • cyan value is 39.51%
  • magenta value is 0.00%
  • yellow value is 20.99%
  • key color value is 68.24%

CMYK: (40,0,21,68)
C40M0Y21K68 (40%, 0%, 21%, 68%)
(0.40 / 0.00 / 0.21 / 0.68)

CMYK percentages

%39.51
%0
%20.99
%68.24

Codes

Color #315140 in popluar color models

31 51 40
RGB 49 81 64
HSL 148° 24.62% 25.49%
HSB/HSV 148° 39.51% 31.76%
CMYK 39.51% 0.00% 20.99%
68.24%

Color #315140 in popluar number systems.

HEX 31 51 40
Decimal 49 81 64
Binary 110001 1010001 1000000
Octal 61 121 100

Shades and tints

Shades of #315140

#315140
(49,81,64)
#2D4A3B
(45,74,59)
#294336
(41,67,54)
#253C31
(37,60,49)
#21352C
(33,53,44)
#1D2E27
(29,46,39)
#192722
(25,39,34)
#15201D
(21,32,29)
#111918
(17,25,24)
#0D1213
(13,18,19)
#090B0E
(9,11,14)
#000000
(0,0,0)

Tints of #315140

#315140
(49,81,64)
#436051
(67,96,81)
#556F62
(85,111,98)
#677E73
(103,126,115)
#798D84
(121,141,132)
#8B9C95
(139,156,149)
#9DABA6
(157,171,166)
#AFBAB7
(175,186,183)
#C1C9C8
(193,201,200)
#D3D8D9
(211,216,217)
#E5E7EA
(229,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #315140; }

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

This text font color is #315140.

Background Color

.myBgColor { background-color: #315140; }

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

This div background color is #315140.

Border color

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

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

This div border color is #315140.

Opacity

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

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

Text with #315140 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 #315140;}

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

This text has shadow with #315140 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #315140.

Preview

Color preview on black background

This text has color #315140 on black background.


Color preview on white background

This text has color #315140 on white background.


Black color preview on #315140 background

This text has black color on #315140 background.


White color preview on #315140 background

This text has white color on #315140 background.


Related colors

Complementary color

Complementary color for #hex is #CEAEBF.


I love getcolorcode.com

Triadic colors

1 #403151 and #514031 with #315140 are triadic colors.

2 #405131 and #513140 with #315140 are triadic colors.