HEX: #4D427E
RGB: (77,66,126)
#4D427E contains mainly red and blue colors. Web safe color of #4D427E is #333366 (or #336).
#4D427E color RGB value is (77,66,126).
RGB: (77,66,126) (30%,26%,49%)
R 77 of 255 = 30%
G 66 of 255 = 26%
B 126 of 255 = 49%
R + G + B ~ 35%. #4D427E is quite dark color.
R + G + B =
77 + 66 + 126 = 269 (100%)
R 77 of 269 ~ 28.62%
G 66 of 269 ~ 24.54%
B 126 of 269 ~ 46.84%
#4D427E color CMYK value is (39,48,0,51).
CMYK: (39,48,0,51) C39M48Y0K51 (39%,48%,0%,51%) (0.39/0.48/0.00/0.51)
4D | 42 | 7E | |
---|---|---|---|
RGB | 77 | 66 | 126 |
HSL | 251° | 31.25% | 37.65% |
HSB/HSV | 251° | 47.62% | 49.41% |
CMYK | 38.89% | 47.62% | 0.00% |
50.59% |
HEX | 4D | 42 | 7E |
Decimal | 77 | 66 | 126 |
Binary | 1001101 | 1000010 | 1111110 |
Octal | 115 | 102 | 176 |
Examples of css and html codes for elements with #4D427E color. Also use rgb(77,66,126) instead hex code.
.myTextColor { color: #4D427E; }
<p style="color:#4D427E">This sample text font color is #4D427E.</p>
This text font color is #4D427E.
.myBgColor { background-color: #4D427E; }
<div style="background-color:#4D427E">Inner text</div>
This div background color is #4D427E.
.myBorderColor { border: 1px solid #4D427E; }
<div style="border:3px solid #4D427E">Div</div>
This div border color is #4D427E.
.myOpacity80 { color: #4D427E; opacity: 0.8; }
<p style="color:#4D427E;opacity:0.8;">80%</p>
Text with #4D427E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D427E;}
<p style="text-shadow: 3px 3px 1px #4D427E">Text here.</p>
This text has shadow with #4D427E color.
.textShadow {text-shadow: 3px 3px 1px #4D427E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D427E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D427E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D427E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D427E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D427E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D427E; -webkit-box-shadow: 1px 1px 3px 2px #4D427E; box-shadow: 1px 1px 3px 2px #4D427E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D427E; -webkit-box-shadow: 1px 1px 3px 2px #4D427E; box-shadow:1px 1px 3px 2px #4D427E;">
Div content here</div>
This text has color #4D427E on black background.
This text has color #4D427E on white background.
This text has black color on #4D427E background.
This text has white color on #4D427E background.