HEX: #527D28
RGB: (82,125,40)
#527D28 contains mainly red and green colors. Web safe color of #527D28 is #666633 (or #663).
#527D28 color RGB value is (82,125,40).
RGB: (82,125,40) (32%,49%,16%)
R 82 of 255 = 32%
G 125 of 255 = 49%
B 40 of 255 = 16%
R + G + B ~ 32%. #527D28 is quite dark color.
R + G + B =
82 + 125 + 40 = 247 (100%)
R 82 of 247 ~ 33.2%
G 125 of 247 ~ 50.61%
B 40 of 247 ~ 16.19%
#527D28 color CMYK value is (34,0,68,51).
CMYK: (34,0,68,51) C34M0Y68K51 (34%,0%,68%,51%) (0.34/0.00/0.68/0.51)
52 | 7D | 28 | |
---|---|---|---|
RGB | 82 | 125 | 40 |
HSL | 90° | 51.52% | 32.35% |
HSB/HSV | 90° | 68.00% | 49.02% |
CMYK | 34.40% | 0.00% | 68.00% |
50.98% |
HEX | 52 | 7D | 28 |
Decimal | 82 | 125 | 40 |
Binary | 1010010 | 1111101 | 101000 |
Octal | 122 | 175 | 50 |
Examples of css and html codes for elements with #527D28 color. Also use rgb(82,125,40) instead hex code.
.myTextColor { color: #527D28; }
<p style="color:#527D28">This sample text font color is #527D28.</p>
This text font color is #527D28.
.myBgColor { background-color: #527D28; }
<div style="background-color:#527D28">Inner text</div>
This div background color is #527D28.
.myBorderColor { border: 1px solid #527D28; }
<div style="border:3px solid #527D28">Div</div>
This div border color is #527D28.
.myOpacity80 { color: #527D28; opacity: 0.8; }
<p style="color:#527D28;opacity:0.8;">80%</p>
Text with #527D28 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #527D28;}
<p style="text-shadow: 3px 3px 1px #527D28">Text here.</p>
This text has shadow with #527D28 color.
.textShadow {text-shadow: 3px 3px 1px #527D28, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #527D28, 5px 5px 20px red">Text here.</p>
This text has shadow with #527D28 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#527D28, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#527D28, Direction=45, Strength=4)">Text</p>
This text has shadow with #527D28 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #527D28; -webkit-box-shadow: 1px 1px 3px 2px #527D28; box-shadow: 1px 1px 3px 2px #527D28; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #527D28; -webkit-box-shadow: 1px 1px 3px 2px #527D28; box-shadow:1px 1px 3px 2px #527D28;">
Div content here</div>
This text has color #527D28 on black background.
This text has color #527D28 on white background.
This text has black color on #527D28 background.
This text has white color on #527D28 background.