HEX: #4E517D
RGB: (78,81,125)
#4E517D contains red, green and blue colors in about the same proportion. Web safe color of #4E517D is #666666 (or #666).
#4E517D color RGB value is (78,81,125).
RGB: (78,81,125) (31%,32%,49%)
R 78 of 255 = 31%
G 81 of 255 = 32%
B 125 of 255 = 49%
R + G + B ~ 37%. #4E517D is quite dark color.
R + G + B =
78 + 81 + 125 = 284 (100%)
R 78 of 284 ~ 27.46%
G 81 of 284 ~ 28.52%
B 125 of 284 ~ 44.01%
#4E517D color CMYK value is (38,35,0,51).
CMYK: (38,35,0,51) C38M35Y0K51 (38%,35%,0%,51%) (0.38/0.35/0.00/0.51)
4E | 51 | 7D | |
---|---|---|---|
RGB | 78 | 81 | 125 |
HSL | 236° | 23.15% | 39.80% |
HSB/HSV | 236° | 37.60% | 49.02% |
CMYK | 37.60% | 35.20% | 0.00% |
50.98% |
HEX | 4E | 51 | 7D |
Decimal | 78 | 81 | 125 |
Binary | 1001110 | 1010001 | 1111101 |
Octal | 116 | 121 | 175 |
Examples of css and html codes for elements with #4E517D color. Also use rgb(78,81,125) instead hex code.
.myTextColor { color: #4E517D; }
<p style="color:#4E517D">This sample text font color is #4E517D.</p>
This text font color is #4E517D.
.myBgColor { background-color: #4E517D; }
<div style="background-color:#4E517D">Inner text</div>
This div background color is #4E517D.
.myBorderColor { border: 1px solid #4E517D; }
<div style="border:3px solid #4E517D">Div</div>
This div border color is #4E517D.
.myOpacity80 { color: #4E517D; opacity: 0.8; }
<p style="color:#4E517D;opacity:0.8;">80%</p>
Text with #4E517D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E517D;}
<p style="text-shadow: 3px 3px 1px #4E517D">Text here.</p>
This text has shadow with #4E517D color.
.textShadow {text-shadow: 3px 3px 1px #4E517D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E517D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E517D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E517D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E517D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E517D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E517D; -webkit-box-shadow: 1px 1px 3px 2px #4E517D; box-shadow: 1px 1px 3px 2px #4E517D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E517D; -webkit-box-shadow: 1px 1px 3px 2px #4E517D; box-shadow:1px 1px 3px 2px #4E517D;">
Div content here</div>
This text has color #4E517D on black background.
This text has color #4E517D on white background.
This text has black color on #4E517D background.
This text has white color on #4E517D background.