HEX: #527340
RGB: (82,115,64)
#527340 contains red, green and blue colors in about the same proportion. Web safe color of #527340 is #666633 (or #663).
#527340 color RGB value is (82,115,64).
RGB: (82,115,64) (32%,45%,25%)
R 82 of 255 = 32%
G 115 of 255 = 45%
B 64 of 255 = 25%
R + G + B ~ 34%. #527340 is quite dark color.
R + G + B =
82 + 115 + 64 = 261 (100%)
R 82 of 261 ~ 31.42%
G 115 of 261 ~ 44.06%
B 64 of 261 ~ 24.52%
#527340 color CMYK value is (29,0,44,55).
CMYK: (29,0,44,55) C29M0Y44K55 (29%,0%,44%,55%) (0.29/0.00/0.44/0.55)
52 | 73 | 40 | |
---|---|---|---|
RGB | 82 | 115 | 64 |
HSL | 99° | 28.49% | 35.10% |
HSB/HSV | 99° | 44.35% | 45.10% |
CMYK | 28.70% | 0.00% | 44.35% |
54.90% |
HEX | 52 | 73 | 40 |
Decimal | 82 | 115 | 64 |
Binary | 1010010 | 1110011 | 1000000 |
Octal | 122 | 163 | 100 |
Examples of css and html codes for elements with #527340 color. Also use rgb(82,115,64) instead hex code.
.myTextColor { color: #527340; }
<p style="color:#527340">This sample text font color is #527340.</p>
This text font color is #527340.
.myBgColor { background-color: #527340; }
<div style="background-color:#527340">Inner text</div>
This div background color is #527340.
.myBorderColor { border: 1px solid #527340; }
<div style="border:3px solid #527340">Div</div>
This div border color is #527340.
.myOpacity80 { color: #527340; opacity: 0.8; }
<p style="color:#527340;opacity:0.8;">80%</p>
Text with #527340 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #527340;}
<p style="text-shadow: 3px 3px 1px #527340">Text here.</p>
This text has shadow with #527340 color.
.textShadow {text-shadow: 3px 3px 1px #527340, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #527340, 5px 5px 20px red">Text here.</p>
This text has shadow with #527340 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#527340, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#527340, Direction=45, Strength=4)">Text</p>
This text has shadow with #527340 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #527340; -webkit-box-shadow: 1px 1px 3px 2px #527340; box-shadow: 1px 1px 3px 2px #527340; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #527340; -webkit-box-shadow: 1px 1px 3px 2px #527340; box-shadow:1px 1px 3px 2px #527340;">
Div content here</div>
This text has color #527340 on black background.
This text has color #527340 on white background.
This text has black color on #527340 background.
This text has white color on #527340 background.