HEX: #504D4D
RGB: (80,77,77)
#504D4D contains red, green and blue colors in about the same proportion. Web safe color of #504D4D is #663333 (or #633).
#504D4D color RGB value is (80,77,77).
RGB: (80,77,77) (31%,30%,30%)
R 80 of 255 = 31%
G 77 of 255 = 30%
B 77 of 255 = 30%
R + G + B ~ 30%. #504D4D is quite dark color.
R + G + B =
80 + 77 + 77 = 234 (100%)
R 80 of 234 ~ 34.19%
G 77 of 234 ~ 32.91%
B 77 of 234 ~ 32.91%
#504D4D color CMYK value is (0,4,4,69).
CMYK: (0,4,4,69) C0M4Y4K69 (0%,4%,4%,69%) (0.00/0.04/0.04/0.69)
50 | 4D | 4D | |
---|---|---|---|
RGB | 80 | 77 | 77 |
HSL | 0° | 1.91% | 30.78% |
HSB/HSV | 0° | 3.75% | 31.37% |
CMYK | 0.00% | 3.75% | 3.75% |
68.63% |
HEX | 50 | 4D | 4D |
Decimal | 80 | 77 | 77 |
Binary | 1010000 | 1001101 | 1001101 |
Octal | 120 | 115 | 115 |
Examples of css and html codes for elements with #504D4D color. Also use rgb(80,77,77) instead hex code.
.myTextColor { color: #504D4D; }
<p style="color:#504D4D">This sample text font color is #504D4D.</p>
This text font color is #504D4D.
.myBgColor { background-color: #504D4D; }
<div style="background-color:#504D4D">Inner text</div>
This div background color is #504D4D.
.myBorderColor { border: 1px solid #504D4D; }
<div style="border:3px solid #504D4D">Div</div>
This div border color is #504D4D.
.myOpacity80 { color: #504D4D; opacity: 0.8; }
<p style="color:#504D4D;opacity:0.8;">80%</p>
Text with #504D4D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504D4D;}
<p style="text-shadow: 3px 3px 1px #504D4D">Text here.</p>
This text has shadow with #504D4D color.
.textShadow {text-shadow: 3px 3px 1px #504D4D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504D4D, 5px 5px 20px red">Text here.</p>
This text has shadow with #504D4D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504D4D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504D4D, Direction=45, Strength=4)">Text</p>
This text has shadow with #504D4D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504D4D; -webkit-box-shadow: 1px 1px 3px 2px #504D4D; box-shadow: 1px 1px 3px 2px #504D4D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504D4D; -webkit-box-shadow: 1px 1px 3px 2px #504D4D; box-shadow:1px 1px 3px 2px #504D4D;">
Div content here</div>
This text has color #504D4D on black background.
This text has color #504D4D on white background.
This text has black color on #504D4D background.
This text has white color on #504D4D background.