HEX: #4D505B
RGB: (77,80,91)
#4D505B contains red, green and blue colors in about the same proportion. Web safe color of #4D505B is #336666 (or #366).
#4D505B color RGB value is (77,80,91).
RGB: (77,80,91) (30%,31%,36%)
R 77 of 255 = 30%
G 80 of 255 = 31%
B 91 of 255 = 36%
R + G + B ~ 32%. #4D505B is quite dark color.
R + G + B =
77 + 80 + 91 = 248 (100%)
R 77 of 248 ~ 31.05%
G 80 of 248 ~ 32.26%
B 91 of 248 ~ 36.69%
#4D505B color CMYK value is (15,12,0,64).
CMYK: (15,12,0,64) C15M12Y0K64 (15%,12%,0%,64%) (0.15/0.12/0.00/0.64)
4D | 50 | 5B | |
---|---|---|---|
RGB | 77 | 80 | 91 |
HSL | 227° | 8.33% | 32.94% |
HSB/HSV | 227° | 15.38% | 35.69% |
CMYK | 15.38% | 12.09% | 0.00% |
64.31% |
HEX | 4D | 50 | 5B |
Decimal | 77 | 80 | 91 |
Binary | 1001101 | 1010000 | 1011011 |
Octal | 115 | 120 | 133 |
Examples of css and html codes for elements with #4D505B color. Also use rgb(77,80,91) instead hex code.
.myTextColor { color: #4D505B; }
<p style="color:#4D505B">This sample text font color is #4D505B.</p>
This text font color is #4D505B.
.myBgColor { background-color: #4D505B; }
<div style="background-color:#4D505B">Inner text</div>
This div background color is #4D505B.
.myBorderColor { border: 1px solid #4D505B; }
<div style="border:3px solid #4D505B">Div</div>
This div border color is #4D505B.
.myOpacity80 { color: #4D505B; opacity: 0.8; }
<p style="color:#4D505B;opacity:0.8;">80%</p>
Text with #4D505B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D505B;}
<p style="text-shadow: 3px 3px 1px #4D505B">Text here.</p>
This text has shadow with #4D505B color.
.textShadow {text-shadow: 3px 3px 1px #4D505B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D505B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D505B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D505B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D505B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D505B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D505B; -webkit-box-shadow: 1px 1px 3px 2px #4D505B; box-shadow: 1px 1px 3px 2px #4D505B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D505B; -webkit-box-shadow: 1px 1px 3px 2px #4D505B; box-shadow:1px 1px 3px 2px #4D505B;">
Div content here</div>
This text has color #4D505B on black background.
This text has color #4D505B on white background.
This text has black color on #4D505B background.
This text has white color on #4D505B background.