HEX: #4E484E
RGB: (78,72,78)
#4E484E contains red, green and blue colors in about the same proportion. Web safe color of #4E484E is #663366 (or #636).
#4E484E color RGB value is (78,72,78).
RGB: (78,72,78) (31%,28%,31%)
R 78 of 255 = 31%
G 72 of 255 = 28%
B 78 of 255 = 31%
R + G + B ~ 30%. #4E484E is quite dark color.
R + G + B =
78 + 72 + 78 = 228 (100%)
R 78 of 228 ~ 34.21%
G 72 of 228 ~ 31.58%
B 78 of 228 ~ 34.21%
#4E484E color CMYK value is (0,8,0,69).
CMYK: (0,8,0,69) C0M8Y0K69 (0%,8%,0%,69%) (0.00/0.08/0.00/0.69)
4E | 48 | 4E | |
---|---|---|---|
RGB | 78 | 72 | 78 |
HSL | 300° | 4.00% | 29.41% |
HSB/HSV | 300° | 7.69% | 30.59% |
CMYK | 0.00% | 7.69% | 0.00% |
69.41% |
HEX | 4E | 48 | 4E |
Decimal | 78 | 72 | 78 |
Binary | 1001110 | 1001000 | 1001110 |
Octal | 116 | 110 | 116 |
Examples of css and html codes for elements with #4E484E color. Also use rgb(78,72,78) instead hex code.
.myTextColor { color: #4E484E; }
<p style="color:#4E484E">This sample text font color is #4E484E.</p>
This text font color is #4E484E.
.myBgColor { background-color: #4E484E; }
<div style="background-color:#4E484E">Inner text</div>
This div background color is #4E484E.
.myBorderColor { border: 1px solid #4E484E; }
<div style="border:3px solid #4E484E">Div</div>
This div border color is #4E484E.
.myOpacity80 { color: #4E484E; opacity: 0.8; }
<p style="color:#4E484E;opacity:0.8;">80%</p>
Text with #4E484E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E484E;}
<p style="text-shadow: 3px 3px 1px #4E484E">Text here.</p>
This text has shadow with #4E484E color.
.textShadow {text-shadow: 3px 3px 1px #4E484E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E484E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E484E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E484E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E484E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E484E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E484E; -webkit-box-shadow: 1px 1px 3px 2px #4E484E; box-shadow: 1px 1px 3px 2px #4E484E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E484E; -webkit-box-shadow: 1px 1px 3px 2px #4E484E; box-shadow:1px 1px 3px 2px #4E484E;">
Div content here</div>
This text has color #4E484E on black background.
This text has color #4E484E on white background.
This text has black color on #4E484E background.
This text has white color on #4E484E background.