HEX: #336556
RGB: (51,101,86)
#336556 contains red, green and blue colors in about the same proportion. Web safe color of #336556 is #336666 (or #366).
#336556 color RGB value is (51,101,86).
RGB: (51,101,86) (20%,40%,34%)
R 51 of 255 = 20%
G 101 of 255 = 40%
B 86 of 255 = 34%
R + G + B ~ 31%. #336556 is quite dark color.
R + G + B =
51 + 101 + 86 = 238 (100%)
R 51 of 238 ~ 21.43%
G 101 of 238 ~ 42.44%
B 86 of 238 ~ 36.13%
#336556 color CMYK value is (50,0,15,60).
CMYK: (50,0,15,60) C50M0Y15K60 (50%,0%,15%,60%) (0.50/0.00/0.15/0.60)
33 | 65 | 56 | |
---|---|---|---|
RGB | 51 | 101 | 86 |
HSL | 162° | 32.89% | 29.80% |
HSB/HSV | 162° | 49.50% | 39.61% |
CMYK | 49.50% | 0.00% | 14.85% |
60.39% |
HEX | 33 | 65 | 56 |
Decimal | 51 | 101 | 86 |
Binary | 110011 | 1100101 | 1010110 |
Octal | 63 | 145 | 126 |
Examples of css and html codes for elements with #336556 color. Also use rgb(51,101,86) instead hex code.
.myTextColor { color: #336556; }
<p style="color:#336556">This sample text font color is #336556.</p>
This text font color is #336556.
.myBgColor { background-color: #336556; }
<div style="background-color:#336556">Inner text</div>
This div background color is #336556.
.myBorderColor { border: 1px solid #336556; }
<div style="border:3px solid #336556">Div</div>
This div border color is #336556.
.myOpacity80 { color: #336556; opacity: 0.8; }
<p style="color:#336556;opacity:0.8;">80%</p>
Text with #336556 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #336556;}
<p style="text-shadow: 3px 3px 1px #336556">Text here.</p>
This text has shadow with #336556 color.
.textShadow {text-shadow: 3px 3px 1px #336556, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #336556, 5px 5px 20px red">Text here.</p>
This text has shadow with #336556 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#336556, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#336556, Direction=45, Strength=4)">Text</p>
This text has shadow with #336556 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #336556; -webkit-box-shadow: 1px 1px 3px 2px #336556; box-shadow: 1px 1px 3px 2px #336556; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #336556; -webkit-box-shadow: 1px 1px 3px 2px #336556; box-shadow:1px 1px 3px 2px #336556;">
Div content here</div>
This text has color #336556 on black background.
This text has color #336556 on white background.
This text has black color on #336556 background.
This text has white color on #336556 background.