HEX: #504853
RGB: (80,72,83)
#504853 contains red, green and blue colors in about the same proportion. Web safe color of #504853 is #663366 (or #636).
#504853 color RGB value is (80,72,83).
RGB: (80,72,83) (31%,28%,33%)
R 80 of 255 = 31%
G 72 of 255 = 28%
B 83 of 255 = 33%
R + G + B ~ 31%. #504853 is quite dark color.
R + G + B =
80 + 72 + 83 = 235 (100%)
R 80 of 235 ~ 34.04%
G 72 of 235 ~ 30.64%
B 83 of 235 ~ 35.32%
#504853 color CMYK value is (4,13,0,67).
CMYK: (4,13,0,67) C4M13Y0K67 (4%,13%,0%,67%) (0.04/0.13/0.00/0.67)
50 | 48 | 53 | |
---|---|---|---|
RGB | 80 | 72 | 83 |
HSL | 284° | 7.10% | 30.39% |
HSB/HSV | 284° | 13.25% | 32.55% |
CMYK | 3.61% | 13.25% | 0.00% |
67.45% |
HEX | 50 | 48 | 53 |
Decimal | 80 | 72 | 83 |
Binary | 1010000 | 1001000 | 1010011 |
Octal | 120 | 110 | 123 |
Examples of css and html codes for elements with #504853 color. Also use rgb(80,72,83) instead hex code.
.myTextColor { color: #504853; }
<p style="color:#504853">This sample text font color is #504853.</p>
This text font color is #504853.
.myBgColor { background-color: #504853; }
<div style="background-color:#504853">Inner text</div>
This div background color is #504853.
.myBorderColor { border: 1px solid #504853; }
<div style="border:3px solid #504853">Div</div>
This div border color is #504853.
.myOpacity80 { color: #504853; opacity: 0.8; }
<p style="color:#504853;opacity:0.8;">80%</p>
Text with #504853 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504853;}
<p style="text-shadow: 3px 3px 1px #504853">Text here.</p>
This text has shadow with #504853 color.
.textShadow {text-shadow: 3px 3px 1px #504853, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504853, 5px 5px 20px red">Text here.</p>
This text has shadow with #504853 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504853, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504853, Direction=45, Strength=4)">Text</p>
This text has shadow with #504853 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504853; -webkit-box-shadow: 1px 1px 3px 2px #504853; box-shadow: 1px 1px 3px 2px #504853; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504853; -webkit-box-shadow: 1px 1px 3px 2px #504853; box-shadow:1px 1px 3px 2px #504853;">
Div content here</div>
This text has color #504853 on black background.
This text has color #504853 on white background.
This text has black color on #504853 background.
This text has white color on #504853 background.