HEX: #4D507A
RGB: (77,80,122)
#4D507A contains red, green and blue colors in about the same proportion. Web safe color of #4D507A is #336666 (or #366).
#4D507A color RGB value is (77,80,122).
RGB: (77,80,122) (30%,31%,48%)
R 77 of 255 = 30%
G 80 of 255 = 31%
B 122 of 255 = 48%
R + G + B ~ 36%. #4D507A is quite dark color.
R + G + B =
77 + 80 + 122 = 279 (100%)
R 77 of 279 ~ 27.6%
G 80 of 279 ~ 28.67%
B 122 of 279 ~ 43.73%
#4D507A color CMYK value is (37,34,0,52).
CMYK: (37,34,0,52) C37M34Y0K52 (37%,34%,0%,52%) (0.37/0.34/0.00/0.52)
4D | 50 | 7A | |
---|---|---|---|
RGB | 77 | 80 | 122 |
HSL | 236° | 22.61% | 39.02% |
HSB/HSV | 236° | 36.89% | 47.84% |
CMYK | 36.89% | 34.43% | 0.00% |
52.16% |
HEX | 4D | 50 | 7A |
Decimal | 77 | 80 | 122 |
Binary | 1001101 | 1010000 | 1111010 |
Octal | 115 | 120 | 172 |
Examples of css and html codes for elements with #4D507A color. Also use rgb(77,80,122) instead hex code.
.myTextColor { color: #4D507A; }
<p style="color:#4D507A">This sample text font color is #4D507A.</p>
This text font color is #4D507A.
.myBgColor { background-color: #4D507A; }
<div style="background-color:#4D507A">Inner text</div>
This div background color is #4D507A.
.myBorderColor { border: 1px solid #4D507A; }
<div style="border:3px solid #4D507A">Div</div>
This div border color is #4D507A.
.myOpacity80 { color: #4D507A; opacity: 0.8; }
<p style="color:#4D507A;opacity:0.8;">80%</p>
Text with #4D507A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D507A;}
<p style="text-shadow: 3px 3px 1px #4D507A">Text here.</p>
This text has shadow with #4D507A color.
.textShadow {text-shadow: 3px 3px 1px #4D507A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D507A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D507A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D507A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D507A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D507A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D507A; -webkit-box-shadow: 1px 1px 3px 2px #4D507A; box-shadow: 1px 1px 3px 2px #4D507A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D507A; -webkit-box-shadow: 1px 1px 3px 2px #4D507A; box-shadow:1px 1px 3px 2px #4D507A;">
Div content here</div>
This text has color #4D507A on black background.
This text has color #4D507A on white background.
This text has black color on #4D507A background.
This text has white color on #4D507A background.