HEX: #52AC5C
RGB: (82,172,92)
#52AC5C contains mainly green color. Web safe color of #52AC5C is #669966 (or #696).
#52AC5C color RGB value is (82,172,92).
RGB: (82,172,92) (32%,67%,36%)
R 82 of 255 = 32%
G 172 of 255 = 67%
B 92 of 255 = 36%
R + G + B ~ 45%. #52AC5C is middle color (not dark and not light).
R + G + B =
82 + 172 + 92 = 346 (100%)
R 82 of 346 ~ 23.7%
G 172 of 346 ~ 49.71%
B 92 of 346 ~ 26.59%
#52AC5C color CMYK value is (52,0,47,33).
CMYK: (52,0,47,33) C52M0Y47K33 (52%,0%,47%,33%) (0.52/0.00/0.47/0.33)
52 | AC | 5C | |
---|---|---|---|
RGB | 82 | 172 | 92 |
HSL | 127° | 35.43% | 49.80% |
HSB/HSV | 127° | 52.33% | 67.45% |
CMYK | 52.33% | 0.00% | 46.51% |
32.55% |
HEX | 52 | AC | 5C |
Decimal | 82 | 172 | 92 |
Binary | 1010010 | 10101100 | 1011100 |
Octal | 122 | 254 | 134 |
Examples of css and html codes for elements with #52AC5C color. Also use rgb(82,172,92) instead hex code.
.myTextColor { color: #52AC5C; }
<p style="color:#52AC5C">This sample text font color is #52AC5C.</p>
This text font color is #52AC5C.
.myBgColor { background-color: #52AC5C; }
<div style="background-color:#52AC5C">Inner text</div>
This div background color is #52AC5C.
.myBorderColor { border: 1px solid #52AC5C; }
<div style="border:3px solid #52AC5C">Div</div>
This div border color is #52AC5C.
.myOpacity80 { color: #52AC5C; opacity: 0.8; }
<p style="color:#52AC5C;opacity:0.8;">80%</p>
Text with #52AC5C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52AC5C;}
<p style="text-shadow: 3px 3px 1px #52AC5C">Text here.</p>
This text has shadow with #52AC5C color.
.textShadow {text-shadow: 3px 3px 1px #52AC5C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52AC5C, 5px 5px 20px red">Text here.</p>
This text has shadow with #52AC5C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52AC5C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52AC5C, Direction=45, Strength=4)">Text</p>
This text has shadow with #52AC5C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52AC5C; -webkit-box-shadow: 1px 1px 3px 2px #52AC5C; box-shadow: 1px 1px 3px 2px #52AC5C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52AC5C; -webkit-box-shadow: 1px 1px 3px 2px #52AC5C; box-shadow:1px 1px 3px 2px #52AC5C;">
Div content here</div>
This text has color #52AC5C on black background.
This text has color #52AC5C on white background.
This text has black color on #52AC5C background.
This text has white color on #52AC5C background.