HEX: #528316
RGB: (82,131,22)
#528316 contains mainly red and green colors. Web safe color of #528316 is #669900 (or #690).
#528316 color RGB value is (82,131,22).
RGB: (82,131,22) (32%,51%,9%)
R 82 of 255 = 32%
G 131 of 255 = 51%
B 22 of 255 = 9%
R + G + B ~ 31%. #528316 is quite dark color.
R + G + B =
82 + 131 + 22 = 235 (100%)
R 82 of 235 ~ 34.89%
G 131 of 235 ~ 55.74%
B 22 of 235 ~ 9.36%
#528316 color CMYK value is (37,0,83,49).
CMYK: (37,0,83,49) C37M0Y83K49 (37%,0%,83%,49%) (0.37/0.00/0.83/0.49)
52 | 83 | 16 | |
---|---|---|---|
RGB | 82 | 131 | 22 |
HSL | 87° | 71.24% | 30.00% |
HSB/HSV | 87° | 83.21% | 51.37% |
CMYK | 37.40% | 0.00% | 83.21% |
48.63% |
HEX | 52 | 83 | 16 |
Decimal | 82 | 131 | 22 |
Binary | 1010010 | 10000011 | 10110 |
Octal | 122 | 203 | 26 |
Examples of css and html codes for elements with #528316 color. Also use rgb(82,131,22) instead hex code.
.myTextColor { color: #528316; }
<p style="color:#528316">This sample text font color is #528316.</p>
This text font color is #528316.
.myBgColor { background-color: #528316; }
<div style="background-color:#528316">Inner text</div>
This div background color is #528316.
.myBorderColor { border: 1px solid #528316; }
<div style="border:3px solid #528316">Div</div>
This div border color is #528316.
.myOpacity80 { color: #528316; opacity: 0.8; }
<p style="color:#528316;opacity:0.8;">80%</p>
Text with #528316 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #528316;}
<p style="text-shadow: 3px 3px 1px #528316">Text here.</p>
This text has shadow with #528316 color.
.textShadow {text-shadow: 3px 3px 1px #528316, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #528316, 5px 5px 20px red">Text here.</p>
This text has shadow with #528316 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#528316, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#528316, Direction=45, Strength=4)">Text</p>
This text has shadow with #528316 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #528316; -webkit-box-shadow: 1px 1px 3px 2px #528316; box-shadow: 1px 1px 3px 2px #528316; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #528316; -webkit-box-shadow: 1px 1px 3px 2px #528316; box-shadow:1px 1px 3px 2px #528316;">
Div content here</div>
This text has color #528316 on black background.
This text has color #528316 on white background.
This text has black color on #528316 background.
This text has white color on #528316 background.