HEX: #398B71
RGB: (57,139,113)
#398B71 contains mainly green and blue colors. Web safe color of #398B71 is #339966 (or #396).
#398B71 color RGB value is (57,139,113).
RGB: (57,139,113) (22%,55%,44%)
R 57 of 255 = 22%
G 139 of 255 = 55%
B 113 of 255 = 44%
R + G + B ~ 40%. #398B71 is middle color (not dark and not light).
R + G + B =
57 + 139 + 113 = 309 (100%)
R 57 of 309 ~ 18.45%
G 139 of 309 ~ 44.98%
B 113 of 309 ~ 36.57%
#398B71 color CMYK value is (59,0,19,45).
CMYK: (59,0,19,45) C59M0Y19K45 (59%,0%,19%,45%) (0.59/0.00/0.19/0.45)
39 | 8B | 71 | |
---|---|---|---|
RGB | 57 | 139 | 113 |
HSL | 161° | 41.84% | 38.43% |
HSB/HSV | 161° | 58.99% | 54.51% |
CMYK | 58.99% | 0.00% | 18.71% |
45.49% |
HEX | 39 | 8B | 71 |
Decimal | 57 | 139 | 113 |
Binary | 111001 | 10001011 | 1110001 |
Octal | 71 | 213 | 161 |
Examples of css and html codes for elements with #398B71 color. Also use rgb(57,139,113) instead hex code.
.myTextColor { color: #398B71; }
<p style="color:#398B71">This sample text font color is #398B71.</p>
This text font color is #398B71.
.myBgColor { background-color: #398B71; }
<div style="background-color:#398B71">Inner text</div>
This div background color is #398B71.
.myBorderColor { border: 1px solid #398B71; }
<div style="border:3px solid #398B71">Div</div>
This div border color is #398B71.
.myOpacity80 { color: #398B71; opacity: 0.8; }
<p style="color:#398B71;opacity:0.8;">80%</p>
Text with #398B71 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #398B71;}
<p style="text-shadow: 3px 3px 1px #398B71">Text here.</p>
This text has shadow with #398B71 color.
.textShadow {text-shadow: 3px 3px 1px #398B71, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #398B71, 5px 5px 20px red">Text here.</p>
This text has shadow with #398B71 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#398B71, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#398B71, Direction=45, Strength=4)">Text</p>
This text has shadow with #398B71 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #398B71; -webkit-box-shadow: 1px 1px 3px 2px #398B71; box-shadow: 1px 1px 3px 2px #398B71; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #398B71; -webkit-box-shadow: 1px 1px 3px 2px #398B71; box-shadow:1px 1px 3px 2px #398B71;">
Div content here</div>
This text has color #398B71 on black background.
This text has color #398B71 on white background.
This text has black color on #398B71 background.
This text has white color on #398B71 background.