HEX: #337A14
RGB: (51,122,20)
#337A14 contains mainly green color. Web safe color of #337A14 is #336600 (or #360).
#337A14 color RGB value is (51,122,20).
RGB: (51,122,20) (20%,48%,8%)
R 51 of 255 = 20%
G 122 of 255 = 48%
B 20 of 255 = 8%
R + G + B ~ 25%. #337A14 is quite dark color.
R + G + B =
51 + 122 + 20 = 193 (100%)
R 51 of 193 ~ 26.42%
G 122 of 193 ~ 63.21%
B 20 of 193 ~ 10.36%
#337A14 color CMYK value is (58,0,84,52).
CMYK: (58,0,84,52) C58M0Y84K52 (58%,0%,84%,52%) (0.58/0.00/0.84/0.52)
33 | 7A | 14 | |
---|---|---|---|
RGB | 51 | 122 | 20 |
HSL | 102° | 71.83% | 27.84% |
HSB/HSV | 102° | 83.61% | 47.84% |
CMYK | 58.20% | 0.00% | 83.61% |
52.16% |
HEX | 33 | 7A | 14 |
Decimal | 51 | 122 | 20 |
Binary | 110011 | 1111010 | 10100 |
Octal | 63 | 172 | 24 |
Examples of css and html codes for elements with #337A14 color. Also use rgb(51,122,20) instead hex code.
.myTextColor { color: #337A14; }
<p style="color:#337A14">This sample text font color is #337A14.</p>
This text font color is #337A14.
.myBgColor { background-color: #337A14; }
<div style="background-color:#337A14">Inner text</div>
This div background color is #337A14.
.myBorderColor { border: 1px solid #337A14; }
<div style="border:3px solid #337A14">Div</div>
This div border color is #337A14.
.myOpacity80 { color: #337A14; opacity: 0.8; }
<p style="color:#337A14;opacity:0.8;">80%</p>
Text with #337A14 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #337A14;}
<p style="text-shadow: 3px 3px 1px #337A14">Text here.</p>
This text has shadow with #337A14 color.
.textShadow {text-shadow: 3px 3px 1px #337A14, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #337A14, 5px 5px 20px red">Text here.</p>
This text has shadow with #337A14 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#337A14, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#337A14, Direction=45, Strength=4)">Text</p>
This text has shadow with #337A14 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #337A14; -webkit-box-shadow: 1px 1px 3px 2px #337A14; box-shadow: 1px 1px 3px 2px #337A14; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #337A14; -webkit-box-shadow: 1px 1px 3px 2px #337A14; box-shadow:1px 1px 3px 2px #337A14;">
Div content here</div>
This text has color #337A14 on black background.
This text has color #337A14 on white background.
This text has black color on #337A14 background.
This text has white color on #337A14 background.