HEX: #397B4A
RGB: (57,123,74)
#397B4A contains mainly green and blue colors. Web safe color of #397B4A is #336633 (or #363).
#397B4A color RGB value is (57,123,74).
RGB: (57,123,74) (22%,48%,29%)
R 57 of 255 = 22%
G 123 of 255 = 48%
B 74 of 255 = 29%
R + G + B ~ 33%. #397B4A is quite dark color.
R + G + B =
57 + 123 + 74 = 254 (100%)
R 57 of 254 ~ 22.44%
G 123 of 254 ~ 48.43%
B 74 of 254 ~ 29.13%
#397B4A color CMYK value is (54,0,40,52).
CMYK: (54,0,40,52) C54M0Y40K52 (54%,0%,40%,52%) (0.54/0.00/0.40/0.52)
39 | 7B | 4A | |
---|---|---|---|
RGB | 57 | 123 | 74 |
HSL | 135° | 36.67% | 35.29% |
HSB/HSV | 135° | 53.66% | 48.24% |
CMYK | 53.66% | 0.00% | 39.84% |
51.76% |
HEX | 39 | 7B | 4A |
Decimal | 57 | 123 | 74 |
Binary | 111001 | 1111011 | 1001010 |
Octal | 71 | 173 | 112 |
Examples of css and html codes for elements with #397B4A color. Also use rgb(57,123,74) instead hex code.
.myTextColor { color: #397B4A; }
<p style="color:#397B4A">This sample text font color is #397B4A.</p>
This text font color is #397B4A.
.myBgColor { background-color: #397B4A; }
<div style="background-color:#397B4A">Inner text</div>
This div background color is #397B4A.
.myBorderColor { border: 1px solid #397B4A; }
<div style="border:3px solid #397B4A">Div</div>
This div border color is #397B4A.
.myOpacity80 { color: #397B4A; opacity: 0.8; }
<p style="color:#397B4A;opacity:0.8;">80%</p>
Text with #397B4A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #397B4A;}
<p style="text-shadow: 3px 3px 1px #397B4A">Text here.</p>
This text has shadow with #397B4A color.
.textShadow {text-shadow: 3px 3px 1px #397B4A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #397B4A, 5px 5px 20px red">Text here.</p>
This text has shadow with #397B4A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#397B4A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#397B4A, Direction=45, Strength=4)">Text</p>
This text has shadow with #397B4A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #397B4A; -webkit-box-shadow: 1px 1px 3px 2px #397B4A; box-shadow: 1px 1px 3px 2px #397B4A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #397B4A; -webkit-box-shadow: 1px 1px 3px 2px #397B4A; box-shadow:1px 1px 3px 2px #397B4A;">
Div content here</div>
This text has color #397B4A on black background.
This text has color #397B4A on white background.
This text has black color on #397B4A background.
This text has white color on #397B4A background.