HEX: #52742F
RGB: (82,116,47)
#52742F contains mainly red and green colors. Web safe color of #52742F is #666633 (or #663).
#52742F color RGB value is (82,116,47).
RGB: (82,116,47) (32%,45%,18%)
R 82 of 255 = 32%
G 116 of 255 = 45%
B 47 of 255 = 18%
R + G + B ~ 32%. #52742F is quite dark color.
R + G + B =
82 + 116 + 47 = 245 (100%)
R 82 of 245 ~ 33.47%
G 116 of 245 ~ 47.35%
B 47 of 245 ~ 19.18%
#52742F color CMYK value is (29,0,59,55).
CMYK: (29,0,59,55) C29M0Y59K55 (29%,0%,59%,55%) (0.29/0.00/0.59/0.55)
52 | 74 | 2F | |
---|---|---|---|
RGB | 82 | 116 | 47 |
HSL | 90° | 42.33% | 31.96% |
HSB/HSV | 90° | 59.48% | 45.49% |
CMYK | 29.31% | 0.00% | 59.48% |
54.51% |
HEX | 52 | 74 | 2F |
Decimal | 82 | 116 | 47 |
Binary | 1010010 | 1110100 | 101111 |
Octal | 122 | 164 | 57 |
Examples of css and html codes for elements with #52742F color. Also use rgb(82,116,47) instead hex code.
.myTextColor { color: #52742F; }
<p style="color:#52742F">This sample text font color is #52742F.</p>
This text font color is #52742F.
.myBgColor { background-color: #52742F; }
<div style="background-color:#52742F">Inner text</div>
This div background color is #52742F.
.myBorderColor { border: 1px solid #52742F; }
<div style="border:3px solid #52742F">Div</div>
This div border color is #52742F.
.myOpacity80 { color: #52742F; opacity: 0.8; }
<p style="color:#52742F;opacity:0.8;">80%</p>
Text with #52742F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52742F;}
<p style="text-shadow: 3px 3px 1px #52742F">Text here.</p>
This text has shadow with #52742F color.
.textShadow {text-shadow: 3px 3px 1px #52742F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52742F, 5px 5px 20px red">Text here.</p>
This text has shadow with #52742F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52742F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52742F, Direction=45, Strength=4)">Text</p>
This text has shadow with #52742F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52742F; -webkit-box-shadow: 1px 1px 3px 2px #52742F; box-shadow: 1px 1px 3px 2px #52742F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52742F; -webkit-box-shadow: 1px 1px 3px 2px #52742F; box-shadow:1px 1px 3px 2px #52742F;">
Div content here</div>
This text has color #52742F on black background.
This text has color #52742F on white background.
This text has black color on #52742F background.
This text has white color on #52742F background.