HEX: #336947
RGB: (51,105,71)
#336947 contains red, green and blue colors in about the same proportion. Web safe color of #336947 is #336633 (or #363).
#336947 color RGB value is (51,105,71).
RGB: (51,105,71) (20%,41%,28%)
R 51 of 255 = 20%
G 105 of 255 = 41%
B 71 of 255 = 28%
R + G + B ~ 30%. #336947 is quite dark color.
R + G + B =
51 + 105 + 71 = 227 (100%)
R 51 of 227 ~ 22.47%
G 105 of 227 ~ 46.26%
B 71 of 227 ~ 31.28%
#336947 color CMYK value is (51,0,32,59).
CMYK: (51,0,32,59) C51M0Y32K59 (51%,0%,32%,59%) (0.51/0.00/0.32/0.59)
33 | 69 | 47 | |
---|---|---|---|
RGB | 51 | 105 | 71 |
HSL | 142° | 34.62% | 30.59% |
HSB/HSV | 142° | 51.43% | 41.18% |
CMYK | 51.43% | 0.00% | 32.38% |
58.82% |
HEX | 33 | 69 | 47 |
Decimal | 51 | 105 | 71 |
Binary | 110011 | 1101001 | 1000111 |
Octal | 63 | 151 | 107 |
Examples of css and html codes for elements with #336947 color. Also use rgb(51,105,71) instead hex code.
.myTextColor { color: #336947; }
<p style="color:#336947">This sample text font color is #336947.</p>
This text font color is #336947.
.myBgColor { background-color: #336947; }
<div style="background-color:#336947">Inner text</div>
This div background color is #336947.
.myBorderColor { border: 1px solid #336947; }
<div style="border:3px solid #336947">Div</div>
This div border color is #336947.
.myOpacity80 { color: #336947; opacity: 0.8; }
<p style="color:#336947;opacity:0.8;">80%</p>
Text with #336947 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #336947;}
<p style="text-shadow: 3px 3px 1px #336947">Text here.</p>
This text has shadow with #336947 color.
.textShadow {text-shadow: 3px 3px 1px #336947, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #336947, 5px 5px 20px red">Text here.</p>
This text has shadow with #336947 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#336947, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#336947, Direction=45, Strength=4)">Text</p>
This text has shadow with #336947 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #336947; -webkit-box-shadow: 1px 1px 3px 2px #336947; box-shadow: 1px 1px 3px 2px #336947; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #336947; -webkit-box-shadow: 1px 1px 3px 2px #336947; box-shadow:1px 1px 3px 2px #336947;">
Div content here</div>
This text has color #336947 on black background.
This text has color #336947 on white background.
This text has black color on #336947 background.
This text has white color on #336947 background.