COLOR #336D2A

HEX: #336D2A
RGB: (51,109,42)

Color info

#336D2A contains mainly red and green colors. Web safe color of #336D2A is #336633 (or #363).

RGB color model

#336D2A color RGB value is (51,109,42).

  • red value is 51;
  • green value is 109;
  • blue value is 42.
RGB:
(51,109,42)
(20%,43%,16%)

RGB channels and saturation

R 51 of 255 = 20%
G 109 of 255 = 43%
B 42 of 255 = 16%

51
109
42

R + G + B ~ 26%. #336D2A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 109 + 42 = 202 (100%)
R 51 of 202 ~ 25.25%
G 109 of 202 ~ 53.96%
B 42 of 202 ~ 20.79%

%25.25
%53.96
%20.79

CMYK color model

#336D2A color CMYK value is (53,0,61,57).

  • cyan value is 53.21%
  • magenta value is 0.00%
  • yellow value is 61.47%
  • key color value is 57.25%
CMYK:
(53,0,61,57)
C53M0Y61K57 
(53%,0%,61%,57%)
(0.53/0.00/0.61/0.57)	

CMYK percentages

%53.21
%0
%61.47
%57.25

Codes

Color #336D2A in popluar color models

336D2A
RGB5110942
HSL112°44.37%29.61%
HSB/HSV112°61.47%42.75%
CMYK53.21%0.00%61.47%
57.25%

Color #336D2A in popluar number systems.

HEX336D2A
Decimal5110942
Binary1100111101101101010
Octal6315552

Shades and tints

Shades of #336D2A

#336D2A
(51,109,42)
#2F6427
(47,100,39)
#2B5B24
(43,91,36)
#275221
(39,82,33)
#23491E
(35,73,30)
#1F401B
(31,64,27)
#1B3718
(27,55,24)
#172E15
(23,46,21)
#132512
(19,37,18)
#0F1C0F
(15,28,15)
#0B130C
(11,19,12)
#000000
(0,0,0)

Tints of #336D2A

#336D2A
(51,109,42)
#457A3D
(69,122,61)
#578750
(87,135,80)
#699463
(105,148,99)
#7BA176
(123,161,118)
#8DAE89
(141,174,137)
#9FBB9C
(159,187,156)
#B1C8AF
(177,200,175)
#C3D5C2
(195,213,194)
#D5E2D5
(213,226,213)
#E7EFE8
(231,239,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #336D2A color. Also use rgb(51,109,42) instead hex code.

Text Font Color

.myTextColor { color: #336D2A; }

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

This text font color is #336D2A.


Background Color

.myBgColor { background-color: #336D2A; }

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

This div background color is #336D2A.


Border color

.myBorderColor { border: 1px solid #336D2A; }

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

This div border color is #336D2A.


Opacity

.myOpacity80 { color: #336D2A; opacity: 0.8; }

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

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

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

This text has shadow with #336D2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #336D2A on black background.


Color preview on white background

This text has color #336D2A on white background.



Black color preview on #336D2A background

This text has black color on #336D2A background.


White color preview on #336D2A background

This text has white color on #336D2A background.