HEX: #529811
RGB: (82,152,17)
#529811 contains mainly green color. Web safe color of #529811 is #669900 (or #690).
#529811 color RGB value is (82,152,17).
RGB: (82,152,17) (32%,60%,7%)
R 82 of 255 = 32%
G 152 of 255 = 60%
B 17 of 255 = 7%
R + G + B ~ 33%. #529811 is quite dark color.
R + G + B =
82 + 152 + 17 = 251 (100%)
R 82 of 251 ~ 32.67%
G 152 of 251 ~ 60.56%
B 17 of 251 ~ 6.77%
#529811 color CMYK value is (46,0,89,40).
CMYK: (46,0,89,40) C46M0Y89K40 (46%,0%,89%,40%) (0.46/0.00/0.89/0.40)
52 | 98 | 11 | |
---|---|---|---|
RGB | 82 | 152 | 17 |
HSL | 91° | 79.88% | 33.14% |
HSB/HSV | 91° | 88.82% | 59.61% |
CMYK | 46.05% | 0.00% | 88.82% |
40.39% |
HEX | 52 | 98 | 11 |
Decimal | 82 | 152 | 17 |
Binary | 1010010 | 10011000 | 10001 |
Octal | 122 | 230 | 21 |
Examples of css and html codes for elements with #529811 color. Also use rgb(82,152,17) instead hex code.
.myTextColor { color: #529811; }
<p style="color:#529811">This sample text font color is #529811.</p>
This text font color is #529811.
.myBgColor { background-color: #529811; }
<div style="background-color:#529811">Inner text</div>
This div background color is #529811.
.myBorderColor { border: 1px solid #529811; }
<div style="border:3px solid #529811">Div</div>
This div border color is #529811.
.myOpacity80 { color: #529811; opacity: 0.8; }
<p style="color:#529811;opacity:0.8;">80%</p>
Text with #529811 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #529811;}
<p style="text-shadow: 3px 3px 1px #529811">Text here.</p>
This text has shadow with #529811 color.
.textShadow {text-shadow: 3px 3px 1px #529811, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #529811, 5px 5px 20px red">Text here.</p>
This text has shadow with #529811 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#529811, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#529811, Direction=45, Strength=4)">Text</p>
This text has shadow with #529811 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #529811; -webkit-box-shadow: 1px 1px 3px 2px #529811; box-shadow: 1px 1px 3px 2px #529811; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #529811; -webkit-box-shadow: 1px 1px 3px 2px #529811; box-shadow:1px 1px 3px 2px #529811;">
Div content here</div>
This text has color #529811 on black background.
This text has color #529811 on white background.
This text has black color on #529811 background.
This text has white color on #529811 background.