HEX: #506530
RGB: (80,101,48)
#506530 contains red, green and blue colors in about the same proportion. Web safe color of #506530 is #666633 (or #663).
#506530 color RGB value is (80,101,48).
RGB: (80,101,48) (31%,40%,19%)
R 80 of 255 = 31%
G 101 of 255 = 40%
B 48 of 255 = 19%
R + G + B ~ 30%. #506530 is quite dark color.
R + G + B =
80 + 101 + 48 = 229 (100%)
R 80 of 229 ~ 34.93%
G 101 of 229 ~ 44.1%
B 48 of 229 ~ 20.96%
#506530 color CMYK value is (21,0,52,60).
CMYK: (21,0,52,60) C21M0Y52K60 (21%,0%,52%,60%) (0.21/0.00/0.52/0.60)
50 | 65 | 30 | |
---|---|---|---|
RGB | 80 | 101 | 48 |
HSL | 84° | 35.57% | 29.22% |
HSB/HSV | 84° | 52.48% | 39.61% |
CMYK | 20.79% | 0.00% | 52.48% |
60.39% |
HEX | 50 | 65 | 30 |
Decimal | 80 | 101 | 48 |
Binary | 1010000 | 1100101 | 110000 |
Octal | 120 | 145 | 60 |
Examples of css and html codes for elements with #506530 color. Also use rgb(80,101,48) instead hex code.
.myTextColor { color: #506530; }
<p style="color:#506530">This sample text font color is #506530.</p>
This text font color is #506530.
.myBgColor { background-color: #506530; }
<div style="background-color:#506530">Inner text</div>
This div background color is #506530.
.myBorderColor { border: 1px solid #506530; }
<div style="border:3px solid #506530">Div</div>
This div border color is #506530.
.myOpacity80 { color: #506530; opacity: 0.8; }
<p style="color:#506530;opacity:0.8;">80%</p>
Text with #506530 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506530;}
<p style="text-shadow: 3px 3px 1px #506530">Text here.</p>
This text has shadow with #506530 color.
.textShadow {text-shadow: 3px 3px 1px #506530, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506530, 5px 5px 20px red">Text here.</p>
This text has shadow with #506530 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506530, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506530, Direction=45, Strength=4)">Text</p>
This text has shadow with #506530 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506530; -webkit-box-shadow: 1px 1px 3px 2px #506530; box-shadow: 1px 1px 3px 2px #506530; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506530; -webkit-box-shadow: 1px 1px 3px 2px #506530; box-shadow:1px 1px 3px 2px #506530;">
Div content here</div>
This text has color #506530 on black background.
This text has color #506530 on white background.
This text has black color on #506530 background.
This text has white color on #506530 background.