COLOR #315B21

HEX: #315B21
RGB: (49,91,33)

Color info

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

RGB color model

#315B21 color RGB value is (49,91,33).

  • red value is 49;
  • green value is 91;
  • blue value is 33.
RGB:
(49,91,33)
(19%,36%,13%)

RGB channels and saturation

R 49 of 255 = 19%
G 91 of 255 = 36%
B 33 of 255 = 13%

49
91
33

R + G + B ~ 23%. #315B21 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 91 + 33 = 173 (100%)
R 49 of 173 ~ 28.32%
G 91 of 173 ~ 52.6%
B 33 of 173 ~ 19.08%

%28.32
%52.6
%19.08

CMYK color model

#315B21 color CMYK value is (46,0,64,64).

  • cyan value is 46.15%
  • magenta value is 0.00%
  • yellow value is 63.74%
  • key color value is 64.31%
CMYK:
(46,0,64,64)
C46M0Y64K64 
(46%,0%,64%,64%)
(0.46/0.00/0.64/0.64)	

CMYK percentages

%46.15
%0
%63.74
%64.31

Codes

Color #315B21 in popluar color models

315B21
RGB499133
HSL103°46.77%24.31%
HSB/HSV103°63.74%35.69%
CMYK46.15%0.00%63.74%
64.31%

Color #315B21 in popluar number systems.

HEX315B21
Decimal499133
Binary1100011011011100001
Octal6113341

Shades and tints

Shades of #315B21

#315B21
(49,91,33)
#2D531E
(45,83,30)
#294B1B
(41,75,27)
#254318
(37,67,24)
#213B15
(33,59,21)
#1D3312
(29,51,18)
#192B0F
(25,43,15)
#15230C
(21,35,12)
#111B09
(17,27,9)
#0D1306
(13,19,6)
#090B03
(9,11,3)
#000000
(0,0,0)

Tints of #315B21

#315B21
(49,91,33)
#436935
(67,105,53)
#557749
(85,119,73)
#67855D
(103,133,93)
#799371
(121,147,113)
#8BA185
(139,161,133)
#9DAF99
(157,175,153)
#AFBDAD
(175,189,173)
#C1CBC1
(193,203,193)
#D3D9D5
(211,217,213)
#E5E7E9
(229,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #315B21 color. Also use rgb(49,91,33) instead hex code.

Text Font Color

.myTextColor { color: #315B21; }

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

This text font color is #315B21.


Background Color

.myBgColor { background-color: #315B21; }

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

This div background color is #315B21.


Border color

.myBorderColor { border: 1px solid #315B21; }

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

This div border color is #315B21.


Opacity

.myOpacity80 { color: #315B21; opacity: 0.8; }

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

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

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

This text has shadow with #315B21 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #315B21 on black background.


Color preview on white background

This text has color #315B21 on white background.



Black color preview on #315B21 background

This text has black color on #315B21 background.


White color preview on #315B21 background

This text has white color on #315B21 background.