HEX: #52852A
RGB: (82,133,42)
#52852A contains mainly red and green colors. Web safe color of #52852A is #669933 (or #693).
#52852A color RGB value is (82,133,42).
RGB: (82,133,42) (32%,52%,16%)
R 82 of 255 = 32%
G 133 of 255 = 52%
B 42 of 255 = 16%
R + G + B ~ 33%. #52852A is quite dark color.
R + G + B =
82 + 133 + 42 = 257 (100%)
R 82 of 257 ~ 31.91%
G 133 of 257 ~ 51.75%
B 42 of 257 ~ 16.34%
#52852A color CMYK value is (38,0,68,48).
CMYK: (38,0,68,48) C38M0Y68K48 (38%,0%,68%,48%) (0.38/0.00/0.68/0.48)
52 | 85 | 2A | |
---|---|---|---|
RGB | 82 | 133 | 42 |
HSL | 94° | 52.00% | 34.31% |
HSB/HSV | 94° | 68.42% | 52.16% |
CMYK | 38.35% | 0.00% | 68.42% |
47.84% |
HEX | 52 | 85 | 2A |
Decimal | 82 | 133 | 42 |
Binary | 1010010 | 10000101 | 101010 |
Octal | 122 | 205 | 52 |
Examples of css and html codes for elements with #52852A color. Also use rgb(82,133,42) instead hex code.
.myTextColor { color: #52852A; }
<p style="color:#52852A">This sample text font color is #52852A.</p>
This text font color is #52852A.
.myBgColor { background-color: #52852A; }
<div style="background-color:#52852A">Inner text</div>
This div background color is #52852A.
.myBorderColor { border: 1px solid #52852A; }
<div style="border:3px solid #52852A">Div</div>
This div border color is #52852A.
.myOpacity80 { color: #52852A; opacity: 0.8; }
<p style="color:#52852A;opacity:0.8;">80%</p>
Text with #52852A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52852A;}
<p style="text-shadow: 3px 3px 1px #52852A">Text here.</p>
This text has shadow with #52852A color.
.textShadow {text-shadow: 3px 3px 1px #52852A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52852A, 5px 5px 20px red">Text here.</p>
This text has shadow with #52852A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52852A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52852A, Direction=45, Strength=4)">Text</p>
This text has shadow with #52852A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52852A; -webkit-box-shadow: 1px 1px 3px 2px #52852A; box-shadow: 1px 1px 3px 2px #52852A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52852A; -webkit-box-shadow: 1px 1px 3px 2px #52852A; box-shadow:1px 1px 3px 2px #52852A;">
Div content here</div>
This text has color #52852A on black background.
This text has color #52852A on white background.
This text has black color on #52852A background.
This text has white color on #52852A background.