HEX: #4D657E
RGB: (77,101,126)
#4D657E contains red, green and blue colors in about the same proportion. Web safe color of #4D657E is #336666 (or #366).
#4D657E color RGB value is (77,101,126).
RGB: (77,101,126) (30%,40%,49%)
R 77 of 255 = 30%
G 101 of 255 = 40%
B 126 of 255 = 49%
R + G + B ~ 40%. #4D657E is middle color (not dark and not light).
R + G + B =
77 + 101 + 126 = 304 (100%)
R 77 of 304 ~ 25.33%
G 101 of 304 ~ 33.22%
B 126 of 304 ~ 41.45%
#4D657E color CMYK value is (39,20,0,51).
CMYK: (39,20,0,51) C39M20Y0K51 (39%,20%,0%,51%) (0.39/0.20/0.00/0.51)
4D | 65 | 7E | |
---|---|---|---|
RGB | 77 | 101 | 126 |
HSL | 211° | 24.14% | 39.80% |
HSB/HSV | 211° | 38.89% | 49.41% |
CMYK | 38.89% | 19.84% | 0.00% |
50.59% |
HEX | 4D | 65 | 7E |
Decimal | 77 | 101 | 126 |
Binary | 1001101 | 1100101 | 1111110 |
Octal | 115 | 145 | 176 |
Examples of css and html codes for elements with #4D657E color. Also use rgb(77,101,126) instead hex code.
.myTextColor { color: #4D657E; }
<p style="color:#4D657E">This sample text font color is #4D657E.</p>
This text font color is #4D657E.
.myBgColor { background-color: #4D657E; }
<div style="background-color:#4D657E">Inner text</div>
This div background color is #4D657E.
.myBorderColor { border: 1px solid #4D657E; }
<div style="border:3px solid #4D657E">Div</div>
This div border color is #4D657E.
.myOpacity80 { color: #4D657E; opacity: 0.8; }
<p style="color:#4D657E;opacity:0.8;">80%</p>
Text with #4D657E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D657E;}
<p style="text-shadow: 3px 3px 1px #4D657E">Text here.</p>
This text has shadow with #4D657E color.
.textShadow {text-shadow: 3px 3px 1px #4D657E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D657E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D657E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D657E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D657E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D657E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D657E; -webkit-box-shadow: 1px 1px 3px 2px #4D657E; box-shadow: 1px 1px 3px 2px #4D657E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D657E; -webkit-box-shadow: 1px 1px 3px 2px #4D657E; box-shadow:1px 1px 3px 2px #4D657E;">
Div content here</div>
This text has color #4D657E on black background.
This text has color #4D657E on white background.
This text has black color on #4D657E background.
This text has white color on #4D657E background.