HEX: #337415
RGB: (51,116,21)
#337415 contains mainly green color. Web safe color of #337415 is #336600 (or #360).
#337415 color RGB value is (51,116,21).
RGB: (51,116,21) (20%,45%,8%)
R 51 of 255 = 20%
G 116 of 255 = 45%
B 21 of 255 = 8%
R + G + B ~ 24%. #337415 is dark color.
R + G + B =
51 + 116 + 21 = 188 (100%)
R 51 of 188 ~ 27.13%
G 116 of 188 ~ 61.7%
B 21 of 188 ~ 11.17%
#337415 color CMYK value is (56,0,82,55).
CMYK: (56,0,82,55) C56M0Y82K55 (56%,0%,82%,55%) (0.56/0.00/0.82/0.55)
33 | 74 | 15 | |
---|---|---|---|
RGB | 51 | 116 | 21 |
HSL | 101° | 69.34% | 26.86% |
HSB/HSV | 101° | 81.90% | 45.49% |
CMYK | 56.03% | 0.00% | 81.90% |
54.51% |
HEX | 33 | 74 | 15 |
Decimal | 51 | 116 | 21 |
Binary | 110011 | 1110100 | 10101 |
Octal | 63 | 164 | 25 |
Examples of css and html codes for elements with #337415 color. Also use rgb(51,116,21) instead hex code.
.myTextColor { color: #337415; }
<p style="color:#337415">This sample text font color is #337415.</p>
This text font color is #337415.
.myBgColor { background-color: #337415; }
<div style="background-color:#337415">Inner text</div>
This div background color is #337415.
.myBorderColor { border: 1px solid #337415; }
<div style="border:3px solid #337415">Div</div>
This div border color is #337415.
.myOpacity80 { color: #337415; opacity: 0.8; }
<p style="color:#337415;opacity:0.8;">80%</p>
Text with #337415 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #337415;}
<p style="text-shadow: 3px 3px 1px #337415">Text here.</p>
This text has shadow with #337415 color.
.textShadow {text-shadow: 3px 3px 1px #337415, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #337415, 5px 5px 20px red">Text here.</p>
This text has shadow with #337415 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#337415, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#337415, Direction=45, Strength=4)">Text</p>
This text has shadow with #337415 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #337415; -webkit-box-shadow: 1px 1px 3px 2px #337415; box-shadow: 1px 1px 3px 2px #337415; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #337415; -webkit-box-shadow: 1px 1px 3px 2px #337415; box-shadow:1px 1px 3px 2px #337415;">
Div content here</div>
This text has color #337415 on black background.
This text has color #337415 on white background.
This text has black color on #337415 background.
This text has white color on #337415 background.