HEX: #4D487E
RGB: (77,72,126)
#4D487E contains red, green and blue colors in about the same proportion. Web safe color of #4D487E is #333366 (or #336).
#4D487E color RGB value is (77,72,126).
RGB: (77,72,126) (30%,28%,49%)
R 77 of 255 = 30%
G 72 of 255 = 28%
B 126 of 255 = 49%
R + G + B ~ 36%. #4D487E is quite dark color.
R + G + B =
77 + 72 + 126 = 275 (100%)
R 77 of 275 ~ 28%
G 72 of 275 ~ 26.18%
B 126 of 275 ~ 45.82%
#4D487E color CMYK value is (39,43,0,51).
CMYK: (39,43,0,51) C39M43Y0K51 (39%,43%,0%,51%) (0.39/0.43/0.00/0.51)
4D | 48 | 7E | |
---|---|---|---|
RGB | 77 | 72 | 126 |
HSL | 246° | 27.27% | 38.82% |
HSB/HSV | 246° | 42.86% | 49.41% |
CMYK | 38.89% | 42.86% | 0.00% |
50.59% |
HEX | 4D | 48 | 7E |
Decimal | 77 | 72 | 126 |
Binary | 1001101 | 1001000 | 1111110 |
Octal | 115 | 110 | 176 |
Examples of css and html codes for elements with #4D487E color. Also use rgb(77,72,126) instead hex code.
.myTextColor { color: #4D487E; }
<p style="color:#4D487E">This sample text font color is #4D487E.</p>
This text font color is #4D487E.
.myBgColor { background-color: #4D487E; }
<div style="background-color:#4D487E">Inner text</div>
This div background color is #4D487E.
.myBorderColor { border: 1px solid #4D487E; }
<div style="border:3px solid #4D487E">Div</div>
This div border color is #4D487E.
.myOpacity80 { color: #4D487E; opacity: 0.8; }
<p style="color:#4D487E;opacity:0.8;">80%</p>
Text with #4D487E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D487E;}
<p style="text-shadow: 3px 3px 1px #4D487E">Text here.</p>
This text has shadow with #4D487E color.
.textShadow {text-shadow: 3px 3px 1px #4D487E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D487E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D487E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D487E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D487E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D487E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D487E; -webkit-box-shadow: 1px 1px 3px 2px #4D487E; box-shadow: 1px 1px 3px 2px #4D487E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D487E; -webkit-box-shadow: 1px 1px 3px 2px #4D487E; box-shadow:1px 1px 3px 2px #4D487E;">
Div content here</div>
This text has color #4D487E on black background.
This text has color #4D487E on white background.
This text has black color on #4D487E background.
This text has white color on #4D487E background.