HEX: #505000
RGB: (80,80,0)
#505000 contains only red and green colors. Web safe color of #505000 is #666600 (or #660).
#505000 color RGB value is (80,80,0).
RGB: (80,80,0) (31%,31%,0%)
R 80 of 255 = 31%
G 80 of 255 = 31%
B 0 of 255 = 0%
R + G + B ~ 21%. #505000 is dark color.
R + G + B =
80 + 80 + 0 = 160 (100%)
R 80 of 160 ~ 50%
G 80 of 160 ~ 50%
B 0 of 160 ~ 0%
#505000 color CMYK value is (0,0,100,69).
CMYK: (0,0,100,69) C0M0Y100K69 (0%,0%,100%,69%) (0.00/0.00/1.00/0.69)
50 | 50 | 00 | |
---|---|---|---|
RGB | 80 | 80 | 0 |
HSL | 60° | 100.00% | 15.69% |
HSB/HSV | 60° | 100.00% | 31.37% |
CMYK | 0.00% | 0.00% | 100.00% |
68.63% |
HEX | 50 | 50 | 00 |
Decimal | 80 | 80 | 0 |
Binary | 1010000 | 1010000 | 0 |
Octal | 120 | 120 | 0 |
Examples of css and html codes for elements with #505000 color. Also use rgb(80,80,0) instead hex code.
.myTextColor { color: #505000; }
<p style="color:#505000">This sample text font color is #505000.</p>
This text font color is #505000.
.myBgColor { background-color: #505000; }
<div style="background-color:#505000">Inner text</div>
This div background color is #505000.
.myBorderColor { border: 1px solid #505000; }
<div style="border:3px solid #505000">Div</div>
This div border color is #505000.
.myOpacity80 { color: #505000; opacity: 0.8; }
<p style="color:#505000;opacity:0.8;">80%</p>
Text with #505000 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505000;}
<p style="text-shadow: 3px 3px 1px #505000">Text here.</p>
This text has shadow with #505000 color.
.textShadow {text-shadow: 3px 3px 1px #505000, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505000, 5px 5px 20px red">Text here.</p>
This text has shadow with #505000 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505000, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505000, Direction=45, Strength=4)">Text</p>
This text has shadow with #505000 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505000; -webkit-box-shadow: 1px 1px 3px 2px #505000; box-shadow: 1px 1px 3px 2px #505000; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505000; -webkit-box-shadow: 1px 1px 3px 2px #505000; box-shadow:1px 1px 3px 2px #505000;">
Div content here</div>
This text has color #505000 on black background.
This text has color #505000 on white background.
This text has black color on #505000 background.
This text has white color on #505000 background.