COLOR #336040

HEX: #336040
RGB: (51,96,64)

Color info

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

RGB color model

#336040 color RGB value is (51,96,64).

  • red value is 51;
  • green value is 96;
  • blue value is 64.
RGB:
(51,96,64)
(20%,38%,25%)

RGB channels and saturation

R 51 of 255 = 20%
G 96 of 255 = 38%
B 64 of 255 = 25%

51
96
64

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

Portions of RGB colors in percentages

R + G + B =
51 + 96 + 64 = 211 (100%)
R 51 of 211 ~ 24.17%
G 96 of 211 ~ 45.5%
B 64 of 211 ~ 30.33%

%24.17
%45.5
%30.33

CMYK color model

#336040 color CMYK value is (47,0,33,62).

  • cyan value is 46.88%
  • magenta value is 0.00%
  • yellow value is 33.33%
  • key color value is 62.35%
CMYK:
(47,0,33,62)
C47M0Y33K62 
(47%,0%,33%,62%)
(0.47/0.00/0.33/0.62)	

CMYK percentages

%46.88
%0
%33.33
%62.35

Codes

Color #336040 in popluar color models

336040
RGB519664
HSL137°30.61%28.82%
HSB/HSV137°46.88%37.65%
CMYK46.88%0.00%33.33%
62.35%

Color #336040 in popluar number systems.

HEX336040
Decimal519664
Binary11001111000001000000
Octal63140100

Shades and tints

Shades of #336040

#336040
(51,96,64)
#2F583B
(47,88,59)
#2B5036
(43,80,54)
#274831
(39,72,49)
#23402C
(35,64,44)
#1F3827
(31,56,39)
#1B3022
(27,48,34)
#17281D
(23,40,29)
#132018
(19,32,24)
#0F1813
(15,24,19)
#0B100E
(11,16,14)
#000000
(0,0,0)

Tints of #336040

#336040
(51,96,64)
#456E51
(69,110,81)
#577C62
(87,124,98)
#698A73
(105,138,115)
#7B9884
(123,152,132)
#8DA695
(141,166,149)
#9FB4A6
(159,180,166)
#B1C2B7
(177,194,183)
#C3D0C8
(195,208,200)
#D5DED9
(213,222,217)
#E7ECEA
(231,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #336040 color. Also use rgb(51,96,64) instead hex code.

Text Font Color

.myTextColor { color: #336040; }

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

This text font color is #336040.


Background Color

.myBgColor { background-color: #336040; }

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

This div background color is #336040.


Border color

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

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

This div border color is #336040.


Opacity

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

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

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

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

This text has shadow with #336040 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #336040 on black background.


Color preview on white background

This text has color #336040 on white background.



Black color preview on #336040 background

This text has black color on #336040 background.


White color preview on #336040 background

This text has white color on #336040 background.