HEX: #52AF5C
RGB: (82,175,92)
#52AF5C contains mainly green color. Web safe color of #52AF5C is #669966 (or #696).
#52AF5C color RGB value is (82,175,92).
RGB: (82,175,92) (32%,69%,36%)
R 82 of 255 = 32%
G 175 of 255 = 69%
B 92 of 255 = 36%
R + G + B ~ 46%. #52AF5C is middle color (not dark and not light).
R + G + B =
82 + 175 + 92 = 349 (100%)
R 82 of 349 ~ 23.5%
G 175 of 349 ~ 50.14%
B 92 of 349 ~ 26.36%
#52AF5C color CMYK value is (53,0,47,31).
CMYK: (53,0,47,31) C53M0Y47K31 (53%,0%,47%,31%) (0.53/0.00/0.47/0.31)
52 | AF | 5C | |
---|---|---|---|
RGB | 82 | 175 | 92 |
HSL | 126° | 36.76% | 50.39% |
HSB/HSV | 126° | 53.14% | 68.63% |
CMYK | 53.14% | 0.00% | 47.43% |
31.37% |
HEX | 52 | AF | 5C |
Decimal | 82 | 175 | 92 |
Binary | 1010010 | 10101111 | 1011100 |
Octal | 122 | 257 | 134 |
Examples of css and html codes for elements with #52AF5C color. Also use rgb(82,175,92) instead hex code.
.myTextColor { color: #52AF5C; }
<p style="color:#52AF5C">This sample text font color is #52AF5C.</p>
This text font color is #52AF5C.
.myBgColor { background-color: #52AF5C; }
<div style="background-color:#52AF5C">Inner text</div>
This div background color is #52AF5C.
.myBorderColor { border: 1px solid #52AF5C; }
<div style="border:3px solid #52AF5C">Div</div>
This div border color is #52AF5C.
.myOpacity80 { color: #52AF5C; opacity: 0.8; }
<p style="color:#52AF5C;opacity:0.8;">80%</p>
Text with #52AF5C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52AF5C;}
<p style="text-shadow: 3px 3px 1px #52AF5C">Text here.</p>
This text has shadow with #52AF5C color.
.textShadow {text-shadow: 3px 3px 1px #52AF5C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52AF5C, 5px 5px 20px red">Text here.</p>
This text has shadow with #52AF5C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52AF5C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52AF5C, Direction=45, Strength=4)">Text</p>
This text has shadow with #52AF5C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52AF5C; -webkit-box-shadow: 1px 1px 3px 2px #52AF5C; box-shadow: 1px 1px 3px 2px #52AF5C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52AF5C; -webkit-box-shadow: 1px 1px 3px 2px #52AF5C; box-shadow:1px 1px 3px 2px #52AF5C;">
Div content here</div>
This text has color #52AF5C on black background.
This text has color #52AF5C on white background.
This text has black color on #52AF5C background.
This text has white color on #52AF5C background.