HEX: #397D46
RGB: (57,125,70)
#397D46 contains mainly green and blue colors. Web safe color of #397D46 is #336633 (or #363).
#397D46 color RGB value is (57,125,70).
RGB: (57,125,70) (22%,49%,27%)
R 57 of 255 = 22%
G 125 of 255 = 49%
B 70 of 255 = 27%
R + G + B ~ 33%. #397D46 is quite dark color.
R + G + B =
57 + 125 + 70 = 252 (100%)
R 57 of 252 ~ 22.62%
G 125 of 252 ~ 49.6%
B 70 of 252 ~ 27.78%
#397D46 color CMYK value is (54,0,44,51).
CMYK: (54,0,44,51) C54M0Y44K51 (54%,0%,44%,51%) (0.54/0.00/0.44/0.51)
39 | 7D | 46 | |
---|---|---|---|
RGB | 57 | 125 | 70 |
HSL | 131° | 37.36% | 35.69% |
HSB/HSV | 131° | 54.40% | 49.02% |
CMYK | 54.40% | 0.00% | 44.00% |
50.98% |
HEX | 39 | 7D | 46 |
Decimal | 57 | 125 | 70 |
Binary | 111001 | 1111101 | 1000110 |
Octal | 71 | 175 | 106 |
Examples of css and html codes for elements with #397D46 color. Also use rgb(57,125,70) instead hex code.
.myTextColor { color: #397D46; }
<p style="color:#397D46">This sample text font color is #397D46.</p>
This text font color is #397D46.
.myBgColor { background-color: #397D46; }
<div style="background-color:#397D46">Inner text</div>
This div background color is #397D46.
.myBorderColor { border: 1px solid #397D46; }
<div style="border:3px solid #397D46">Div</div>
This div border color is #397D46.
.myOpacity80 { color: #397D46; opacity: 0.8; }
<p style="color:#397D46;opacity:0.8;">80%</p>
Text with #397D46 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #397D46;}
<p style="text-shadow: 3px 3px 1px #397D46">Text here.</p>
This text has shadow with #397D46 color.
.textShadow {text-shadow: 3px 3px 1px #397D46, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #397D46, 5px 5px 20px red">Text here.</p>
This text has shadow with #397D46 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#397D46, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#397D46, Direction=45, Strength=4)">Text</p>
This text has shadow with #397D46 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #397D46; -webkit-box-shadow: 1px 1px 3px 2px #397D46; box-shadow: 1px 1px 3px 2px #397D46; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #397D46; -webkit-box-shadow: 1px 1px 3px 2px #397D46; box-shadow:1px 1px 3px 2px #397D46;">
Div content here</div>
This text has color #397D46 on black background.
This text has color #397D46 on white background.
This text has black color on #397D46 background.
This text has white color on #397D46 background.