COLOR #336A2A

HEX: #336A2A
RGB: (51,106,42)

Color info

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

RGB color model

#336A2A color RGB value is (51,106,42).

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

RGB channels and saturation

R 51 of 255 = 20%
G 106 of 255 = 42%
B 42 of 255 = 16%

51
106
42

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

Portions of RGB colors in percentages

R + G + B =
51 + 106 + 42 = 199 (100%)
R 51 of 199 ~ 25.63%
G 106 of 199 ~ 53.27%
B 42 of 199 ~ 21.11%

%25.63
%53.27
%21.11

CMYK color model

#336A2A color CMYK value is (52,0,60,58).

  • cyan value is 51.89%
  • magenta value is 0.00%
  • yellow value is 60.38%
  • key color value is 58.43%
CMYK:
(52,0,60,58)
C52M0Y60K58 
(52%,0%,60%,58%)
(0.52/0.00/0.60/0.58)	

CMYK percentages

%51.89
%0
%60.38
%58.43

Codes

Color #336A2A in popluar color models

336A2A
RGB5110642
HSL112°43.24%29.02%
HSB/HSV112°60.38%41.57%
CMYK51.89%0.00%60.38%
58.43%

Color #336A2A in popluar number systems.

HEX336A2A
Decimal5110642
Binary1100111101010101010
Octal6315252

Shades and tints

Shades of #336A2A

#336A2A
(51,106,42)
#2F6127
(47,97,39)
#2B5824
(43,88,36)
#274F21
(39,79,33)
#23461E
(35,70,30)
#1F3D1B
(31,61,27)
#1B3418
(27,52,24)
#172B15
(23,43,21)
#132212
(19,34,18)
#0F190F
(15,25,15)
#0B100C
(11,16,12)
#000000
(0,0,0)

Tints of #336A2A

#336A2A
(51,106,42)
#45773D
(69,119,61)
#578450
(87,132,80)
#699163
(105,145,99)
#7B9E76
(123,158,118)
#8DAB89
(141,171,137)
#9FB89C
(159,184,156)
#B1C5AF
(177,197,175)
#C3D2C2
(195,210,194)
#D5DFD5
(213,223,213)
#E7ECE8
(231,236,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #336A2A; }

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

This text font color is #336A2A.


Background Color

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

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

This div background color is #336A2A.


Border color

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

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

This div border color is #336A2A.


Opacity

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

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

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

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

This text has shadow with #336A2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #336A2A on black background.


Color preview on white background

This text has color #336A2A on white background.



Black color preview on #336A2A background

This text has black color on #336A2A background.


White color preview on #336A2A background

This text has white color on #336A2A background.