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