HEX: #385F7D
RGB: (56,95,125)
#385F7D contains mainly green and blue colors. Web safe color of #385F7D is #336666 (or #366).
#385F7D color RGB value is (56,95,125).
RGB: (56,95,125) (22%,37%,49%)
R 56 of 255 = 22%
G 95 of 255 = 37%
B 125 of 255 = 49%
R + G + B ~ 36%. #385F7D is quite dark color.
R + G + B =
56 + 95 + 125 = 276 (100%)
R 56 of 276 ~ 20.29%
G 95 of 276 ~ 34.42%
B 125 of 276 ~ 45.29%
#385F7D color CMYK value is (55,24,0,51).
CMYK: (55,24,0,51) C55M24Y0K51 (55%,24%,0%,51%) (0.55/0.24/0.00/0.51)
38 | 5F | 7D | |
---|---|---|---|
RGB | 56 | 95 | 125 |
HSL | 206° | 38.12% | 35.49% |
HSB/HSV | 206° | 55.20% | 49.02% |
CMYK | 55.20% | 24.00% | 0.00% |
50.98% |
HEX | 38 | 5F | 7D |
Decimal | 56 | 95 | 125 |
Binary | 111000 | 1011111 | 1111101 |
Octal | 70 | 137 | 175 |
Examples of css and html codes for elements with #385F7D color. Also use rgb(56,95,125) instead hex code.
.myTextColor { color: #385F7D; }
<p style="color:#385F7D">This sample text font color is #385F7D.</p>
This text font color is #385F7D.
.myBgColor { background-color: #385F7D; }
<div style="background-color:#385F7D">Inner text</div>
This div background color is #385F7D.
.myBorderColor { border: 1px solid #385F7D; }
<div style="border:3px solid #385F7D">Div</div>
This div border color is #385F7D.
.myOpacity80 { color: #385F7D; opacity: 0.8; }
<p style="color:#385F7D;opacity:0.8;">80%</p>
Text with #385F7D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #385F7D;}
<p style="text-shadow: 3px 3px 1px #385F7D">Text here.</p>
This text has shadow with #385F7D color.
.textShadow {text-shadow: 3px 3px 1px #385F7D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #385F7D, 5px 5px 20px red">Text here.</p>
This text has shadow with #385F7D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#385F7D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#385F7D, Direction=45, Strength=4)">Text</p>
This text has shadow with #385F7D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #385F7D; -webkit-box-shadow: 1px 1px 3px 2px #385F7D; box-shadow: 1px 1px 3px 2px #385F7D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #385F7D; -webkit-box-shadow: 1px 1px 3px 2px #385F7D; box-shadow:1px 1px 3px 2px #385F7D;">
Div content here</div>
This text has color #385F7D on black background.
This text has color #385F7D on white background.
This text has black color on #385F7D background.
This text has white color on #385F7D background.