HEX: #527831
RGB: (82,120,49)
#527831 contains mainly red and green colors. Web safe color of #527831 is #666633 (or #663).
#527831 color RGB value is (82,120,49).
RGB: (82,120,49) (32%,47%,19%)
R 82 of 255 = 32%
G 120 of 255 = 47%
B 49 of 255 = 19%
R + G + B ~ 33%. #527831 is quite dark color.
R + G + B =
82 + 120 + 49 = 251 (100%)
R 82 of 251 ~ 32.67%
G 120 of 251 ~ 47.81%
B 49 of 251 ~ 19.52%
#527831 color CMYK value is (32,0,59,53).
CMYK: (32,0,59,53) C32M0Y59K53 (32%,0%,59%,53%) (0.32/0.00/0.59/0.53)
52 | 78 | 31 | |
---|---|---|---|
RGB | 82 | 120 | 49 |
HSL | 92° | 42.01% | 33.14% |
HSB/HSV | 92° | 59.17% | 47.06% |
CMYK | 31.67% | 0.00% | 59.17% |
52.94% |
HEX | 52 | 78 | 31 |
Decimal | 82 | 120 | 49 |
Binary | 1010010 | 1111000 | 110001 |
Octal | 122 | 170 | 61 |
Examples of css and html codes for elements with #527831 color. Also use rgb(82,120,49) instead hex code.
.myTextColor { color: #527831; }
<p style="color:#527831">This sample text font color is #527831.</p>
This text font color is #527831.
.myBgColor { background-color: #527831; }
<div style="background-color:#527831">Inner text</div>
This div background color is #527831.
.myBorderColor { border: 1px solid #527831; }
<div style="border:3px solid #527831">Div</div>
This div border color is #527831.
.myOpacity80 { color: #527831; opacity: 0.8; }
<p style="color:#527831;opacity:0.8;">80%</p>
Text with #527831 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #527831;}
<p style="text-shadow: 3px 3px 1px #527831">Text here.</p>
This text has shadow with #527831 color.
.textShadow {text-shadow: 3px 3px 1px #527831, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #527831, 5px 5px 20px red">Text here.</p>
This text has shadow with #527831 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#527831, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#527831, Direction=45, Strength=4)">Text</p>
This text has shadow with #527831 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #527831; -webkit-box-shadow: 1px 1px 3px 2px #527831; box-shadow: 1px 1px 3px 2px #527831; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #527831; -webkit-box-shadow: 1px 1px 3px 2px #527831; box-shadow:1px 1px 3px 2px #527831;">
Div content here</div>
This text has color #527831 on black background.
This text has color #527831 on white background.
This text has black color on #527831 background.
This text has white color on #527831 background.