HEX: #507016
RGB: (80,112,22)
#507016 contains mainly red and green colors. Web safe color of #507016 is #666600 (or #660).
#507016 color RGB value is (80,112,22).
RGB: (80,112,22) (31%,44%,9%)
R 80 of 255 = 31%
G 112 of 255 = 44%
B 22 of 255 = 9%
R + G + B ~ 28%. #507016 is quite dark color.
R + G + B =
80 + 112 + 22 = 214 (100%)
R 80 of 214 ~ 37.38%
G 112 of 214 ~ 52.34%
B 22 of 214 ~ 10.28%
#507016 color CMYK value is (29,0,80,56).
CMYK: (29,0,80,56) C29M0Y80K56 (29%,0%,80%,56%) (0.29/0.00/0.80/0.56)
50 | 70 | 16 | |
---|---|---|---|
RGB | 80 | 112 | 22 |
HSL | 81° | 67.16% | 26.27% |
HSB/HSV | 81° | 80.36% | 43.92% |
CMYK | 28.57% | 0.00% | 80.36% |
56.08% |
HEX | 50 | 70 | 16 |
Decimal | 80 | 112 | 22 |
Binary | 1010000 | 1110000 | 10110 |
Octal | 120 | 160 | 26 |
Examples of css and html codes for elements with #507016 color. Also use rgb(80,112,22) instead hex code.
.myTextColor { color: #507016; }
<p style="color:#507016">This sample text font color is #507016.</p>
This text font color is #507016.
.myBgColor { background-color: #507016; }
<div style="background-color:#507016">Inner text</div>
This div background color is #507016.
.myBorderColor { border: 1px solid #507016; }
<div style="border:3px solid #507016">Div</div>
This div border color is #507016.
.myOpacity80 { color: #507016; opacity: 0.8; }
<p style="color:#507016;opacity:0.8;">80%</p>
Text with #507016 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507016;}
<p style="text-shadow: 3px 3px 1px #507016">Text here.</p>
This text has shadow with #507016 color.
.textShadow {text-shadow: 3px 3px 1px #507016, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507016, 5px 5px 20px red">Text here.</p>
This text has shadow with #507016 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507016, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507016, Direction=45, Strength=4)">Text</p>
This text has shadow with #507016 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507016; -webkit-box-shadow: 1px 1px 3px 2px #507016; box-shadow: 1px 1px 3px 2px #507016; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507016; -webkit-box-shadow: 1px 1px 3px 2px #507016; box-shadow:1px 1px 3px 2px #507016;">
Div content here</div>
This text has color #507016 on black background.
This text has color #507016 on white background.
This text has black color on #507016 background.
This text has white color on #507016 background.