HEX: #504E4B
RGB: (80,78,75)
#504E4B contains red, green and blue colors in about the same proportion. Web safe color of #504E4B is #666633 (or #663).
#504E4B color RGB value is (80,78,75).
RGB: (80,78,75) (31%,31%,29%)
R 80 of 255 = 31%
G 78 of 255 = 31%
B 75 of 255 = 29%
R + G + B ~ 30%. #504E4B is quite dark color.
R + G + B =
80 + 78 + 75 = 233 (100%)
R 80 of 233 ~ 34.33%
G 78 of 233 ~ 33.48%
B 75 of 233 ~ 32.19%
#504E4B color CMYK value is (0,2,6,69).
CMYK: (0,2,6,69) C0M2Y6K69 (0%,2%,6%,69%) (0.00/0.02/0.06/0.69)
50 | 4E | 4B | |
---|---|---|---|
RGB | 80 | 78 | 75 |
HSL | 36° | 3.23% | 30.39% |
HSB/HSV | 36° | 6.25% | 31.37% |
CMYK | 0.00% | 2.50% | 6.25% |
68.63% |
HEX | 50 | 4E | 4B |
Decimal | 80 | 78 | 75 |
Binary | 1010000 | 1001110 | 1001011 |
Octal | 120 | 116 | 113 |
Examples of css and html codes for elements with #504E4B color. Also use rgb(80,78,75) instead hex code.
.myTextColor { color: #504E4B; }
<p style="color:#504E4B">This sample text font color is #504E4B.</p>
This text font color is #504E4B.
.myBgColor { background-color: #504E4B; }
<div style="background-color:#504E4B">Inner text</div>
This div background color is #504E4B.
.myBorderColor { border: 1px solid #504E4B; }
<div style="border:3px solid #504E4B">Div</div>
This div border color is #504E4B.
.myOpacity80 { color: #504E4B; opacity: 0.8; }
<p style="color:#504E4B;opacity:0.8;">80%</p>
Text with #504E4B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504E4B;}
<p style="text-shadow: 3px 3px 1px #504E4B">Text here.</p>
This text has shadow with #504E4B color.
.textShadow {text-shadow: 3px 3px 1px #504E4B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504E4B, 5px 5px 20px red">Text here.</p>
This text has shadow with #504E4B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504E4B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504E4B, Direction=45, Strength=4)">Text</p>
This text has shadow with #504E4B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504E4B; -webkit-box-shadow: 1px 1px 3px 2px #504E4B; box-shadow: 1px 1px 3px 2px #504E4B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504E4B; -webkit-box-shadow: 1px 1px 3px 2px #504E4B; box-shadow:1px 1px 3px 2px #504E4B;">
Div content here</div>
This text has color #504E4B on black background.
This text has color #504E4B on white background.
This text has black color on #504E4B background.
This text has white color on #504E4B background.