HEX: #529D52
RGB: (82,157,82)
#529D52 contains mainly green color. Web safe color of #529D52 is #669966 (or #696).
#529D52 color RGB value is (82,157,82).
RGB: (82,157,82) (32%,62%,32%)
R 82 of 255 = 32%
G 157 of 255 = 62%
B 82 of 255 = 32%
R + G + B ~ 42%. #529D52 is middle color (not dark and not light).
R + G + B =
82 + 157 + 82 = 321 (100%)
R 82 of 321 ~ 25.55%
G 157 of 321 ~ 48.91%
B 82 of 321 ~ 25.55%
#529D52 color CMYK value is (48,0,48,38).
CMYK: (48,0,48,38) C48M0Y48K38 (48%,0%,48%,38%) (0.48/0.00/0.48/0.38)
52 | 9D | 52 | |
---|---|---|---|
RGB | 82 | 157 | 82 |
HSL | 120° | 31.38% | 46.86% |
HSB/HSV | 120° | 47.77% | 61.57% |
CMYK | 47.77% | 0.00% | 47.77% |
38.43% |
HEX | 52 | 9D | 52 |
Decimal | 82 | 157 | 82 |
Binary | 1010010 | 10011101 | 1010010 |
Octal | 122 | 235 | 122 |
Examples of css and html codes for elements with #529D52 color. Also use rgb(82,157,82) instead hex code.
.myTextColor { color: #529D52; }
<p style="color:#529D52">This sample text font color is #529D52.</p>
This text font color is #529D52.
.myBgColor { background-color: #529D52; }
<div style="background-color:#529D52">Inner text</div>
This div background color is #529D52.
.myBorderColor { border: 1px solid #529D52; }
<div style="border:3px solid #529D52">Div</div>
This div border color is #529D52.
.myOpacity80 { color: #529D52; opacity: 0.8; }
<p style="color:#529D52;opacity:0.8;">80%</p>
Text with #529D52 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #529D52;}
<p style="text-shadow: 3px 3px 1px #529D52">Text here.</p>
This text has shadow with #529D52 color.
.textShadow {text-shadow: 3px 3px 1px #529D52, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #529D52, 5px 5px 20px red">Text here.</p>
This text has shadow with #529D52 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#529D52, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#529D52, Direction=45, Strength=4)">Text</p>
This text has shadow with #529D52 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #529D52; -webkit-box-shadow: 1px 1px 3px 2px #529D52; box-shadow: 1px 1px 3px 2px #529D52; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #529D52; -webkit-box-shadow: 1px 1px 3px 2px #529D52; box-shadow:1px 1px 3px 2px #529D52;">
Div content here</div>
This text has color #529D52 on black background.
This text has color #529D52 on white background.
This text has black color on #529D52 background.
This text has white color on #529D52 background.