COLOR #315228

HEX: #315228 RGB: (49,82,40)

Color info

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

RGB color model

#315228 color RGB value is (49,82,40).

RGB: (49,82,40) (19%, 32%, 16%)

RGB channels and saturation

R 49 of 255 = 19%
G 82 of 255 = 32%
B 40 of 255 = 16%

49
82
40

R + G + B ~ 22%. #315228 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 82 + 40 = 171 (100%)
R 49 of 171 ~ 28.65%
G 82 of 171 ~ 47.95%
B 40 of 171 ~ 23.39'%

%28.65
%47.95
%23.39

CMYK color model

#315228 color CMYK value is (40,0,51,68).

  • cyan value is 40.24%
  • magenta value is 0.00%
  • yellow value is 51.22%
  • key color value is 67.84%
CMYK: (40,0,51,68) C40M0Y51K68 (40%,0%,51%,68%) (0.40/0.00/0.51/0.68) 

CMYK percentages

%40.24
%0
%51.22
%67.84

Codes

Color #315228 in popluar color models

31 52 28
RGB 49 82 40
HSL 107° 34.43% 23.92%
HSB/HSV 107° 51.22% 32.16%
CMYK 40.24% 0.00% 51.22%
67.84%

Color #315228 in popluar number systems.

HEX 31 52 28
Decimal 49 82 40
Binary 110001 1010010 101000
Octal 61 122 50

Shades and tints

Shades of #315228

#315228
(49,82,40)
#2D4B25
(45,75,37)
#294422
(41,68,34)
#253D1F
(37,61,31)
#21361C
(33,54,28)
#1D2F19
(29,47,25)
#192816
(25,40,22)
#152113
(21,33,19)
#111A10
(17,26,16)
#0D130D
(13,19,13)
#090C0A
(9,12,10)
#000000
(0,0,0)

Tints of #315228

#315228
(49,82,40)
#43613B
(67,97,59)
#55704E
(85,112,78)
#677F61
(103,127,97)
#798E74
(121,142,116)
#8B9D87
(139,157,135)
#9DAC9A
(157,172,154)
#AFBBAD
(175,187,173)
#C1CAC0
(193,202,192)
#D3D9D3
(211,217,211)
#E5E8E6
(229,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #315228 color. Also use rgb(49,82,40) instead hex code.

Text Font Color

.myTextColor { color: #315228; }

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

This text font color is #315228.

Background Color

.myBgColor { background-color: #315228; }

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

This div background color is #315228.

Border color

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

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

This div border color is #315228.

Opacity

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

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

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

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

This text has shadow with #315228 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #315228.

Preview

Color preview on black background

This text has color #315228 on black background.


Color preview on white background

This text has color #315228 on white background.


Black color preview on #315228 background

This text has black color on #315228 background.


White color preview on #315228 background

This text has white color on #315228 background.


Related colors

Complementary color

Complementary color for #hex is #CEADD7.


I love getcolorcode.com

Triadic colors

1 #283152 and #522831 with #315228 are triadic colors.

2 #285231 and #523128 with #315228 are triadic colors.