HEX: #336D49
RGB: (51,109,73)
#336D49 contains red, green and blue colors in about the same proportion. Web safe color of #336D49 is #336633 (or #363).
#336D49 color RGB value is (51,109,73).
RGB: (51,109,73) (20%,43%,29%)
R 51 of 255 = 20%
G 109 of 255 = 43%
B 73 of 255 = 29%
R + G + B ~ 31%. #336D49 is quite dark color.
R + G + B =
51 + 109 + 73 = 233 (100%)
R 51 of 233 ~ 21.89%
G 109 of 233 ~ 46.78%
B 73 of 233 ~ 31.33%
#336D49 color CMYK value is (53,0,33,57).
CMYK: (53,0,33,57) C53M0Y33K57 (53%,0%,33%,57%) (0.53/0.00/0.33/0.57)
33 | 6D | 49 | |
---|---|---|---|
RGB | 51 | 109 | 73 |
HSL | 143° | 36.25% | 31.37% |
HSB/HSV | 143° | 53.21% | 42.75% |
CMYK | 53.21% | 0.00% | 33.03% |
57.25% |
HEX | 33 | 6D | 49 |
Decimal | 51 | 109 | 73 |
Binary | 110011 | 1101101 | 1001001 |
Octal | 63 | 155 | 111 |
Examples of css and html codes for elements with #336D49 color. Also use rgb(51,109,73) instead hex code.
.myTextColor { color: #336D49; }
<p style="color:#336D49">This sample text font color is #336D49.</p>
This text font color is #336D49.
.myBgColor { background-color: #336D49; }
<div style="background-color:#336D49">Inner text</div>
This div background color is #336D49.
.myBorderColor { border: 1px solid #336D49; }
<div style="border:3px solid #336D49">Div</div>
This div border color is #336D49.
.myOpacity80 { color: #336D49; opacity: 0.8; }
<p style="color:#336D49;opacity:0.8;">80%</p>
Text with #336D49 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #336D49;}
<p style="text-shadow: 3px 3px 1px #336D49">Text here.</p>
This text has shadow with #336D49 color.
.textShadow {text-shadow: 3px 3px 1px #336D49, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #336D49, 5px 5px 20px red">Text here.</p>
This text has shadow with #336D49 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#336D49, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#336D49, Direction=45, Strength=4)">Text</p>
This text has shadow with #336D49 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #336D49; -webkit-box-shadow: 1px 1px 3px 2px #336D49; box-shadow: 1px 1px 3px 2px #336D49; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #336D49; -webkit-box-shadow: 1px 1px 3px 2px #336D49; box-shadow:1px 1px 3px 2px #336D49;">
Div content here</div>
This text has color #336D49 on black background.
This text has color #336D49 on white background.
This text has black color on #336D49 background.
This text has white color on #336D49 background.