HEX: #387D8B
RGB: (56,125,139)
#387D8B contains mainly green and blue colors. Web safe color of #387D8B is #336699 (or #369).
#387D8B color RGB value is (56,125,139).
RGB: (56,125,139) (22%,49%,55%)
R 56 of 255 = 22%
G 125 of 255 = 49%
B 139 of 255 = 55%
R + G + B ~ 42%. #387D8B is middle color (not dark and not light).
R + G + B =
56 + 125 + 139 = 320 (100%)
R 56 of 320 ~ 17.5%
G 125 of 320 ~ 39.06%
B 139 of 320 ~ 43.44%
#387D8B color CMYK value is (60,10,0,45).
CMYK: (60,10,0,45) C60M10Y0K45 (60%,10%,0%,45%) (0.60/0.10/0.00/0.45)
38 | 7D | 8B | |
---|---|---|---|
RGB | 56 | 125 | 139 |
HSL | 190° | 42.56% | 38.24% |
HSB/HSV | 190° | 59.71% | 54.51% |
CMYK | 59.71% | 10.07% | 0.00% |
45.49% |
HEX | 38 | 7D | 8B |
Decimal | 56 | 125 | 139 |
Binary | 111000 | 1111101 | 10001011 |
Octal | 70 | 175 | 213 |
Examples of css and html codes for elements with #387D8B color. Also use rgb(56,125,139) instead hex code.
.myTextColor { color: #387D8B; }
<p style="color:#387D8B">This sample text font color is #387D8B.</p>
This text font color is #387D8B.
.myBgColor { background-color: #387D8B; }
<div style="background-color:#387D8B">Inner text</div>
This div background color is #387D8B.
.myBorderColor { border: 1px solid #387D8B; }
<div style="border:3px solid #387D8B">Div</div>
This div border color is #387D8B.
.myOpacity80 { color: #387D8B; opacity: 0.8; }
<p style="color:#387D8B;opacity:0.8;">80%</p>
Text with #387D8B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #387D8B;}
<p style="text-shadow: 3px 3px 1px #387D8B">Text here.</p>
This text has shadow with #387D8B color.
.textShadow {text-shadow: 3px 3px 1px #387D8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #387D8B, 5px 5px 20px red">Text here.</p>
This text has shadow with #387D8B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#387D8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#387D8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #387D8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #387D8B; -webkit-box-shadow: 1px 1px 3px 2px #387D8B; box-shadow: 1px 1px 3px 2px #387D8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #387D8B; -webkit-box-shadow: 1px 1px 3px 2px #387D8B; box-shadow:1px 1px 3px 2px #387D8B;">
Div content here</div>
This text has color #387D8B on black background.
This text has color #387D8B on white background.
This text has black color on #387D8B background.
This text has white color on #387D8B background.