HEX: #505711
RGB: (80,87,17)
#505711 contains mainly red and green colors. Web safe color of #505711 is #666600 (or #660).
#505711 color RGB value is (80,87,17).
RGB: (80,87,17) (31%,34%,7%)
R 80 of 255 = 31%
G 87 of 255 = 34%
B 17 of 255 = 7%
R + G + B ~ 24%. #505711 is dark color.
R + G + B =
80 + 87 + 17 = 184 (100%)
R 80 of 184 ~ 43.48%
G 87 of 184 ~ 47.28%
B 17 of 184 ~ 9.24%
#505711 color CMYK value is (8,0,80,66).
CMYK: (8,0,80,66) C8M0Y80K66 (8%,0%,80%,66%) (0.08/0.00/0.80/0.66)
50 | 57 | 11 | |
---|---|---|---|
RGB | 80 | 87 | 17 |
HSL | 66° | 67.31% | 20.39% |
HSB/HSV | 66° | 80.46% | 34.12% |
CMYK | 8.05% | 0.00% | 80.46% |
65.88% |
HEX | 50 | 57 | 11 |
Decimal | 80 | 87 | 17 |
Binary | 1010000 | 1010111 | 10001 |
Octal | 120 | 127 | 21 |
Examples of css and html codes for elements with #505711 color. Also use rgb(80,87,17) instead hex code.
.myTextColor { color: #505711; }
<p style="color:#505711">This sample text font color is #505711.</p>
This text font color is #505711.
.myBgColor { background-color: #505711; }
<div style="background-color:#505711">Inner text</div>
This div background color is #505711.
.myBorderColor { border: 1px solid #505711; }
<div style="border:3px solid #505711">Div</div>
This div border color is #505711.
.myOpacity80 { color: #505711; opacity: 0.8; }
<p style="color:#505711;opacity:0.8;">80%</p>
Text with #505711 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505711;}
<p style="text-shadow: 3px 3px 1px #505711">Text here.</p>
This text has shadow with #505711 color.
.textShadow {text-shadow: 3px 3px 1px #505711, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505711, 5px 5px 20px red">Text here.</p>
This text has shadow with #505711 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505711, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505711, Direction=45, Strength=4)">Text</p>
This text has shadow with #505711 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505711; -webkit-box-shadow: 1px 1px 3px 2px #505711; box-shadow: 1px 1px 3px 2px #505711; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505711; -webkit-box-shadow: 1px 1px 3px 2px #505711; box-shadow:1px 1px 3px 2px #505711;">
Div content here</div>
This text has color #505711 on black background.
This text has color #505711 on white background.
This text has black color on #505711 background.
This text has white color on #505711 background.