HEX: #52811D
RGB: (82,129,29)
#52811D contains mainly red and green colors. Web safe color of #52811D is #669933 (or #693).
#52811D color RGB value is (82,129,29).
RGB: (82,129,29) (32%,51%,11%)
R 82 of 255 = 32%
G 129 of 255 = 51%
B 29 of 255 = 11%
R + G + B ~ 31%. #52811D is quite dark color.
R + G + B =
82 + 129 + 29 = 240 (100%)
R 82 of 240 ~ 34.17%
G 129 of 240 ~ 53.75%
B 29 of 240 ~ 12.08%
#52811D color CMYK value is (36,0,78,49).
CMYK: (36,0,78,49) C36M0Y78K49 (36%,0%,78%,49%) (0.36/0.00/0.78/0.49)
52 | 81 | 1D | |
---|---|---|---|
RGB | 82 | 129 | 29 |
HSL | 88° | 63.29% | 30.98% |
HSB/HSV | 88° | 77.52% | 50.59% |
CMYK | 36.43% | 0.00% | 77.52% |
49.41% |
HEX | 52 | 81 | 1D |
Decimal | 82 | 129 | 29 |
Binary | 1010010 | 10000001 | 11101 |
Octal | 122 | 201 | 35 |
Examples of css and html codes for elements with #52811D color. Also use rgb(82,129,29) instead hex code.
.myTextColor { color: #52811D; }
<p style="color:#52811D">This sample text font color is #52811D.</p>
This text font color is #52811D.
.myBgColor { background-color: #52811D; }
<div style="background-color:#52811D">Inner text</div>
This div background color is #52811D.
.myBorderColor { border: 1px solid #52811D; }
<div style="border:3px solid #52811D">Div</div>
This div border color is #52811D.
.myOpacity80 { color: #52811D; opacity: 0.8; }
<p style="color:#52811D;opacity:0.8;">80%</p>
Text with #52811D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52811D;}
<p style="text-shadow: 3px 3px 1px #52811D">Text here.</p>
This text has shadow with #52811D color.
.textShadow {text-shadow: 3px 3px 1px #52811D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52811D, 5px 5px 20px red">Text here.</p>
This text has shadow with #52811D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52811D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52811D, Direction=45, Strength=4)">Text</p>
This text has shadow with #52811D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52811D; -webkit-box-shadow: 1px 1px 3px 2px #52811D; box-shadow: 1px 1px 3px 2px #52811D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52811D; -webkit-box-shadow: 1px 1px 3px 2px #52811D; box-shadow:1px 1px 3px 2px #52811D;">
Div content here</div>
This text has color #52811D on black background.
This text has color #52811D on white background.
This text has black color on #52811D background.
This text has white color on #52811D background.