COLOR #336B12

HEX: #336B12 RGB: (51,107,18)

Color info

#336B12 contains mainly red and green colors. Web safe color of #336B12 is #336600 (or #360).

RGB color model

#336B12 color RGB value is (51,107,18).

RGB: (51,107,18) (20%, 42%, 7%)

RGB channels and saturation

R 51 of 255 = 20%
G 107 of 255 = 42%
B 18 of 255 = 7%

51
107
18

R + G + B ~ 23%. #336B12 is dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 107 + 18 = 176 (100%)
R 51 of 176 ~ 28.98%
G 107 of 176 ~ 60.8%
B 18 of 176 ~ 10.23'%

%28.98
%60.8
%10.23

CMYK color model

#336B12 color CMYK value is (52,0,83,58).

  • cyan value is 52.34%
  • magenta value is 0.00%
  • yellow value is 83.18%
  • key color value is 58.04%
CMYK: (52,0,83,58) C52M0Y83K58 (52%,0%,83%,58%) (0.52/0.00/0.83/0.58) 

CMYK percentages

%52.34
%0
%83.18
%58.04

Codes

Color #336B12 in popluar color models

33 6B 12
RGB 51 107 18
HSL 98° 71.20% 24.51%
HSB/HSV 98° 83.18% 41.96%
CMYK 52.34% 0.00% 83.18%
58.04%

Color #336B12 in popluar number systems.

HEX 33 6B 12
Decimal 51 107 18
Binary 110011 1101011 10010
Octal 63 153 22

Shades and tints

Shades of #336B12

#336B12
(51,107,18)
#2F6211
(47,98,17)
#2B5910
(43,89,16)
#27500F
(39,80,15)
#23470E
(35,71,14)
#1F3E0D
(31,62,13)
#1B350C
(27,53,12)
#172C0B
(23,44,11)
#13230A
(19,35,10)
#0F1A09
(15,26,9)
#0B1108
(11,17,8)
#000000
(0,0,0)

Tints of #336B12

#336B12
(51,107,18)
#457827
(69,120,39)
#57853C
(87,133,60)
#699251
(105,146,81)
#7B9F66
(123,159,102)
#8DAC7B
(141,172,123)
#9FB990
(159,185,144)
#B1C6A5
(177,198,165)
#C3D3BA
(195,211,186)
#D5E0CF
(213,224,207)
#E7EDE4
(231,237,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #336B12 color. Also use rgb(51,107,18) instead hex code.

Text Font Color

.myTextColor { color: #336B12; }

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

This text font color is #336B12.

Background Color

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

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

This div background color is #336B12.

Border color

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

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

This div border color is #336B12.

Opacity

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

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

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

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

This text has shadow with #336B12 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #336B12.

Preview

Color preview on black background

This text has color #336B12 on black background.


Color preview on white background

This text has color #336B12 on white background.


Black color preview on #336B12 background

This text has black color on #336B12 background.


White color preview on #336B12 background

This text has white color on #336B12 background.


Related colors

Complementary color

Complementary color for #hex is #CC94ED.


I love getcolorcode.com

Triadic colors

1 #12336B and #6B1233 with #336B12 are triadic colors.

2 #126B33 and #6B3312 with #336B12 are triadic colors.