HEX: #396E15
RGB: (57,110,21)
#396E15 contains mainly red and green colors. Web safe color of #396E15 is #336600 (or #360).
#396E15 color RGB value is (57,110,21).
RGB: (57,110,21) (22%,43%,8%)
R 57 of 255 = 22%
G 110 of 255 = 43%
B 21 of 255 = 8%
R + G + B ~ 24%. #396E15 is dark color.
R + G + B =
57 + 110 + 21 = 188 (100%)
R 57 of 188 ~ 30.32%
G 110 of 188 ~ 58.51%
B 21 of 188 ~ 11.17%
#396E15 color CMYK value is (48,0,81,57).
CMYK: (48,0,81,57) C48M0Y81K57 (48%,0%,81%,57%) (0.48/0.00/0.81/0.57)
39 | 6E | 15 | |
---|---|---|---|
RGB | 57 | 110 | 21 |
HSL | 96° | 67.94% | 25.69% |
HSB/HSV | 96° | 80.91% | 43.14% |
CMYK | 48.18% | 0.00% | 80.91% |
56.86% |
HEX | 39 | 6E | 15 |
Decimal | 57 | 110 | 21 |
Binary | 111001 | 1101110 | 10101 |
Octal | 71 | 156 | 25 |
Examples of css and html codes for elements with #396E15 color. Also use rgb(57,110,21) instead hex code.
.myTextColor { color: #396E15; }
<p style="color:#396E15">This sample text font color is #396E15.</p>
This text font color is #396E15.
.myBgColor { background-color: #396E15; }
<div style="background-color:#396E15">Inner text</div>
This div background color is #396E15.
.myBorderColor { border: 1px solid #396E15; }
<div style="border:3px solid #396E15">Div</div>
This div border color is #396E15.
.myOpacity80 { color: #396E15; opacity: 0.8; }
<p style="color:#396E15;opacity:0.8;">80%</p>
Text with #396E15 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #396E15;}
<p style="text-shadow: 3px 3px 1px #396E15">Text here.</p>
This text has shadow with #396E15 color.
.textShadow {text-shadow: 3px 3px 1px #396E15, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #396E15, 5px 5px 20px red">Text here.</p>
This text has shadow with #396E15 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#396E15, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#396E15, Direction=45, Strength=4)">Text</p>
This text has shadow with #396E15 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #396E15; -webkit-box-shadow: 1px 1px 3px 2px #396E15; box-shadow: 1px 1px 3px 2px #396E15; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #396E15; -webkit-box-shadow: 1px 1px 3px 2px #396E15; box-shadow:1px 1px 3px 2px #396E15;">
Div content here</div>
This text has color #396E15 on black background.
This text has color #396E15 on white background.
This text has black color on #396E15 background.
This text has white color on #396E15 background.