HEX: #52B22E
RGB: (82,178,46)
#52B22E contains mainly green color. Web safe color of #52B22E is #669933 (or #693).
#52B22E color RGB value is (82,178,46).
RGB: (82,178,46) (32%,70%,18%)
R 82 of 255 = 32%
G 178 of 255 = 70%
B 46 of 255 = 18%
R + G + B ~ 40%. #52B22E is middle color (not dark and not light).
R + G + B =
82 + 178 + 46 = 306 (100%)
R 82 of 306 ~ 26.8%
G 178 of 306 ~ 58.17%
B 46 of 306 ~ 15.03%
#52B22E color CMYK value is (54,0,74,30).
CMYK: (54,0,74,30) C54M0Y74K30 (54%,0%,74%,30%) (0.54/0.00/0.74/0.30)
52 | B2 | 2E | |
---|---|---|---|
RGB | 82 | 178 | 46 |
HSL | 104° | 58.93% | 43.92% |
HSB/HSV | 104° | 74.16% | 69.80% |
CMYK | 53.93% | 0.00% | 74.16% |
30.20% |
HEX | 52 | B2 | 2E |
Decimal | 82 | 178 | 46 |
Binary | 1010010 | 10110010 | 101110 |
Octal | 122 | 262 | 56 |
Examples of css and html codes for elements with #52B22E color. Also use rgb(82,178,46) instead hex code.
.myTextColor { color: #52B22E; }
<p style="color:#52B22E">This sample text font color is #52B22E.</p>
This text font color is #52B22E.
.myBgColor { background-color: #52B22E; }
<div style="background-color:#52B22E">Inner text</div>
This div background color is #52B22E.
.myBorderColor { border: 1px solid #52B22E; }
<div style="border:3px solid #52B22E">Div</div>
This div border color is #52B22E.
.myOpacity80 { color: #52B22E; opacity: 0.8; }
<p style="color:#52B22E;opacity:0.8;">80%</p>
Text with #52B22E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52B22E;}
<p style="text-shadow: 3px 3px 1px #52B22E">Text here.</p>
This text has shadow with #52B22E color.
.textShadow {text-shadow: 3px 3px 1px #52B22E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52B22E, 5px 5px 20px red">Text here.</p>
This text has shadow with #52B22E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52B22E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52B22E, Direction=45, Strength=4)">Text</p>
This text has shadow with #52B22E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52B22E; -webkit-box-shadow: 1px 1px 3px 2px #52B22E; box-shadow: 1px 1px 3px 2px #52B22E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52B22E; -webkit-box-shadow: 1px 1px 3px 2px #52B22E; box-shadow:1px 1px 3px 2px #52B22E;">
Div content here</div>
This text has color #52B22E on black background.
This text has color #52B22E on white background.
This text has black color on #52B22E background.
This text has white color on #52B22E background.