HEX: #505521
RGB: (80,85,33)
#505521 contains red, green and blue colors in about the same proportion. Web safe color of #505521 is #666633 (or #663).
#505521 color RGB value is (80,85,33).
RGB: (80,85,33) (31%,33%,13%)
R 80 of 255 = 31%
G 85 of 255 = 33%
B 33 of 255 = 13%
R + G + B ~ 26%. #505521 is quite dark color.
R + G + B =
80 + 85 + 33 = 198 (100%)
R 80 of 198 ~ 40.4%
G 85 of 198 ~ 42.93%
B 33 of 198 ~ 16.67%
#505521 color CMYK value is (6,0,61,67).
CMYK: (6,0,61,67) C6M0Y61K67 (6%,0%,61%,67%) (0.06/0.00/0.61/0.67)
50 | 55 | 21 | |
---|---|---|---|
RGB | 80 | 85 | 33 |
HSL | 66° | 44.07% | 23.14% |
HSB/HSV | 66° | 61.18% | 33.33% |
CMYK | 5.88% | 0.00% | 61.18% |
66.67% |
HEX | 50 | 55 | 21 |
Decimal | 80 | 85 | 33 |
Binary | 1010000 | 1010101 | 100001 |
Octal | 120 | 125 | 41 |
Examples of css and html codes for elements with #505521 color. Also use rgb(80,85,33) instead hex code.
.myTextColor { color: #505521; }
<p style="color:#505521">This sample text font color is #505521.</p>
This text font color is #505521.
.myBgColor { background-color: #505521; }
<div style="background-color:#505521">Inner text</div>
This div background color is #505521.
.myBorderColor { border: 1px solid #505521; }
<div style="border:3px solid #505521">Div</div>
This div border color is #505521.
.myOpacity80 { color: #505521; opacity: 0.8; }
<p style="color:#505521;opacity:0.8;">80%</p>
Text with #505521 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505521;}
<p style="text-shadow: 3px 3px 1px #505521">Text here.</p>
This text has shadow with #505521 color.
.textShadow {text-shadow: 3px 3px 1px #505521, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505521, 5px 5px 20px red">Text here.</p>
This text has shadow with #505521 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505521, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505521, Direction=45, Strength=4)">Text</p>
This text has shadow with #505521 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505521; -webkit-box-shadow: 1px 1px 3px 2px #505521; box-shadow: 1px 1px 3px 2px #505521; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505521; -webkit-box-shadow: 1px 1px 3px 2px #505521; box-shadow:1px 1px 3px 2px #505521;">
Div content here</div>
This text has color #505521 on black background.
This text has color #505521 on white background.
This text has black color on #505521 background.
This text has white color on #505521 background.