HEX: #4E717F
RGB: (78,113,127)
#4E717F contains red, green and blue colors in about the same proportion. Web safe color of #4E717F is #666666 (or #666).
#4E717F color RGB value is (78,113,127).
RGB: (78,113,127) (31%,44%,50%)
R 78 of 255 = 31%
G 113 of 255 = 44%
B 127 of 255 = 50%
R + G + B ~ 42%. #4E717F is middle color (not dark and not light).
R + G + B =
78 + 113 + 127 = 318 (100%)
R 78 of 318 ~ 24.53%
G 113 of 318 ~ 35.53%
B 127 of 318 ~ 39.94%
#4E717F color CMYK value is (39,11,0,50).
CMYK: (39,11,0,50) C39M11Y0K50 (39%,11%,0%,50%) (0.39/0.11/0.00/0.50)
4E | 71 | 7F | |
---|---|---|---|
RGB | 78 | 113 | 127 |
HSL | 197° | 23.90% | 40.20% |
HSB/HSV | 197° | 38.58% | 49.80% |
CMYK | 38.58% | 11.02% | 0.00% |
50.20% |
HEX | 4E | 71 | 7F |
Decimal | 78 | 113 | 127 |
Binary | 1001110 | 1110001 | 1111111 |
Octal | 116 | 161 | 177 |
Examples of css and html codes for elements with #4E717F color. Also use rgb(78,113,127) instead hex code.
.myTextColor { color: #4E717F; }
<p style="color:#4E717F">This sample text font color is #4E717F.</p>
This text font color is #4E717F.
.myBgColor { background-color: #4E717F; }
<div style="background-color:#4E717F">Inner text</div>
This div background color is #4E717F.
.myBorderColor { border: 1px solid #4E717F; }
<div style="border:3px solid #4E717F">Div</div>
This div border color is #4E717F.
.myOpacity80 { color: #4E717F; opacity: 0.8; }
<p style="color:#4E717F;opacity:0.8;">80%</p>
Text with #4E717F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E717F;}
<p style="text-shadow: 3px 3px 1px #4E717F">Text here.</p>
This text has shadow with #4E717F color.
.textShadow {text-shadow: 3px 3px 1px #4E717F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E717F, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E717F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E717F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E717F, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E717F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E717F; -webkit-box-shadow: 1px 1px 3px 2px #4E717F; box-shadow: 1px 1px 3px 2px #4E717F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E717F; -webkit-box-shadow: 1px 1px 3px 2px #4E717F; box-shadow:1px 1px 3px 2px #4E717F;">
Div content here</div>
This text has color #4E717F on black background.
This text has color #4E717F on white background.
This text has black color on #4E717F background.
This text has white color on #4E717F background.