HEX: #508014
RGB: (80,128,20)
#508014 contains mainly red and green colors. Web safe color of #508014 is #666600 (or #660).
#508014 color RGB value is (80,128,20).
RGB: (80,128,20) (31%,50%,8%)
R 80 of 255 = 31%
G 128 of 255 = 50%
B 20 of 255 = 8%
R + G + B ~ 30%. #508014 is quite dark color.
R + G + B =
80 + 128 + 20 = 228 (100%)
R 80 of 228 ~ 35.09%
G 128 of 228 ~ 56.14%
B 20 of 228 ~ 8.77%
#508014 color CMYK value is (38,0,84,50).
CMYK: (38,0,84,50) C38M0Y84K50 (38%,0%,84%,50%) (0.38/0.00/0.84/0.50)
50 | 80 | 14 | |
---|---|---|---|
RGB | 80 | 128 | 20 |
HSL | 87° | 72.97% | 29.02% |
HSB/HSV | 87° | 84.38% | 50.20% |
CMYK | 37.50% | 0.00% | 84.38% |
49.80% |
HEX | 50 | 80 | 14 |
Decimal | 80 | 128 | 20 |
Binary | 1010000 | 10000000 | 10100 |
Octal | 120 | 200 | 24 |
Examples of css and html codes for elements with #508014 color. Also use rgb(80,128,20) instead hex code.
.myTextColor { color: #508014; }
<p style="color:#508014">This sample text font color is #508014.</p>
This text font color is #508014.
.myBgColor { background-color: #508014; }
<div style="background-color:#508014">Inner text</div>
This div background color is #508014.
.myBorderColor { border: 1px solid #508014; }
<div style="border:3px solid #508014">Div</div>
This div border color is #508014.
.myOpacity80 { color: #508014; opacity: 0.8; }
<p style="color:#508014;opacity:0.8;">80%</p>
Text with #508014 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #508014;}
<p style="text-shadow: 3px 3px 1px #508014">Text here.</p>
This text has shadow with #508014 color.
.textShadow {text-shadow: 3px 3px 1px #508014, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #508014, 5px 5px 20px red">Text here.</p>
This text has shadow with #508014 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#508014, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#508014, Direction=45, Strength=4)">Text</p>
This text has shadow with #508014 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #508014; -webkit-box-shadow: 1px 1px 3px 2px #508014; box-shadow: 1px 1px 3px 2px #508014; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #508014; -webkit-box-shadow: 1px 1px 3px 2px #508014; box-shadow:1px 1px 3px 2px #508014;">
Div content here</div>
This text has color #508014 on black background.
This text has color #508014 on white background.
This text has black color on #508014 background.
This text has white color on #508014 background.