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