HEX: #336317
RGB: (51,99,23)
#336317 contains mainly red and green colors. Web safe color of #336317 is #336600 (or #360).
#336317 color RGB value is (51,99,23).
RGB: (51,99,23) (20%,39%,9%)
R 51 of 255 = 20%
G 99 of 255 = 39%
B 23 of 255 = 9%
R + G + B ~ 23%. #336317 is dark color.
R + G + B =
51 + 99 + 23 = 173 (100%)
R 51 of 173 ~ 29.48%
G 99 of 173 ~ 57.23%
B 23 of 173 ~ 13.29%
#336317 color CMYK value is (48,0,77,61).
CMYK: (48,0,77,61) C48M0Y77K61 (48%,0%,77%,61%) (0.48/0.00/0.77/0.61)
33 | 63 | 17 | |
---|---|---|---|
RGB | 51 | 99 | 23 |
HSL | 98° | 62.30% | 23.92% |
HSB/HSV | 98° | 76.77% | 38.82% |
CMYK | 48.48% | 0.00% | 76.77% |
61.18% |
HEX | 33 | 63 | 17 |
Decimal | 51 | 99 | 23 |
Binary | 110011 | 1100011 | 10111 |
Octal | 63 | 143 | 27 |
Examples of css and html codes for elements with #336317 color. Also use rgb(51,99,23) instead hex code.
.myTextColor { color: #336317; }
<p style="color:#336317">This sample text font color is #336317.</p>
This text font color is #336317.
.myBgColor { background-color: #336317; }
<div style="background-color:#336317">Inner text</div>
This div background color is #336317.
.myBorderColor { border: 1px solid #336317; }
<div style="border:3px solid #336317">Div</div>
This div border color is #336317.
.myOpacity80 { color: #336317; opacity: 0.8; }
<p style="color:#336317;opacity:0.8;">80%</p>
Text with #336317 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #336317;}
<p style="text-shadow: 3px 3px 1px #336317">Text here.</p>
This text has shadow with #336317 color.
.textShadow {text-shadow: 3px 3px 1px #336317, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #336317, 5px 5px 20px red">Text here.</p>
This text has shadow with #336317 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#336317, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#336317, Direction=45, Strength=4)">Text</p>
This text has shadow with #336317 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #336317; -webkit-box-shadow: 1px 1px 3px 2px #336317; box-shadow: 1px 1px 3px 2px #336317; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #336317; -webkit-box-shadow: 1px 1px 3px 2px #336317; box-shadow:1px 1px 3px 2px #336317;">
Div content here</div>
This text has color #336317 on black background.
This text has color #336317 on white background.
This text has black color on #336317 background.
This text has white color on #336317 background.