HEX: #52772E
RGB: (82,119,46)
#52772E contains mainly red and green colors. Web safe color of #52772E is #666633 (or #663).
#52772E color RGB value is (82,119,46).
RGB: (82,119,46) (32%,47%,18%)
R 82 of 255 = 32%
G 119 of 255 = 47%
B 46 of 255 = 18%
R + G + B ~ 32%. #52772E is quite dark color.
R + G + B =
82 + 119 + 46 = 247 (100%)
R 82 of 247 ~ 33.2%
G 119 of 247 ~ 48.18%
B 46 of 247 ~ 18.62%
#52772E color CMYK value is (31,0,61,53).
CMYK: (31,0,61,53) C31M0Y61K53 (31%,0%,61%,53%) (0.31/0.00/0.61/0.53)
52 | 77 | 2E | |
---|---|---|---|
RGB | 82 | 119 | 46 |
HSL | 90° | 44.24% | 32.35% |
HSB/HSV | 90° | 61.34% | 46.67% |
CMYK | 31.09% | 0.00% | 61.34% |
53.33% |
HEX | 52 | 77 | 2E |
Decimal | 82 | 119 | 46 |
Binary | 1010010 | 1110111 | 101110 |
Octal | 122 | 167 | 56 |
Examples of css and html codes for elements with #52772E color. Also use rgb(82,119,46) instead hex code.
.myTextColor { color: #52772E; }
<p style="color:#52772E">This sample text font color is #52772E.</p>
This text font color is #52772E.
.myBgColor { background-color: #52772E; }
<div style="background-color:#52772E">Inner text</div>
This div background color is #52772E.
.myBorderColor { border: 1px solid #52772E; }
<div style="border:3px solid #52772E">Div</div>
This div border color is #52772E.
.myOpacity80 { color: #52772E; opacity: 0.8; }
<p style="color:#52772E;opacity:0.8;">80%</p>
Text with #52772E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52772E;}
<p style="text-shadow: 3px 3px 1px #52772E">Text here.</p>
This text has shadow with #52772E color.
.textShadow {text-shadow: 3px 3px 1px #52772E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52772E, 5px 5px 20px red">Text here.</p>
This text has shadow with #52772E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52772E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52772E, Direction=45, Strength=4)">Text</p>
This text has shadow with #52772E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52772E; -webkit-box-shadow: 1px 1px 3px 2px #52772E; box-shadow: 1px 1px 3px 2px #52772E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52772E; -webkit-box-shadow: 1px 1px 3px 2px #52772E; box-shadow:1px 1px 3px 2px #52772E;">
Div content here</div>
This text has color #52772E on black background.
This text has color #52772E on white background.
This text has black color on #52772E background.
This text has white color on #52772E background.