HEX: #52715C
RGB: (82,113,92)
#52715C contains red, green and blue colors in about the same proportion. Web safe color of #52715C is #666666 (or #666).
#52715C color RGB value is (82,113,92).
RGB: (82,113,92) (32%,44%,36%)
R 82 of 255 = 32%
G 113 of 255 = 44%
B 92 of 255 = 36%
R + G + B ~ 37%. #52715C is quite dark color.
R + G + B =
82 + 113 + 92 = 287 (100%)
R 82 of 287 ~ 28.57%
G 113 of 287 ~ 39.37%
B 92 of 287 ~ 32.06%
#52715C color CMYK value is (27,0,19,56).
CMYK: (27,0,19,56) C27M0Y19K56 (27%,0%,19%,56%) (0.27/0.00/0.19/0.56)
52 | 71 | 5C | |
---|---|---|---|
RGB | 82 | 113 | 92 |
HSL | 139° | 15.90% | 38.24% |
HSB/HSV | 139° | 27.43% | 44.31% |
CMYK | 27.43% | 0.00% | 18.58% |
55.69% |
HEX | 52 | 71 | 5C |
Decimal | 82 | 113 | 92 |
Binary | 1010010 | 1110001 | 1011100 |
Octal | 122 | 161 | 134 |
Examples of css and html codes for elements with #52715C color. Also use rgb(82,113,92) instead hex code.
.myTextColor { color: #52715C; }
<p style="color:#52715C">This sample text font color is #52715C.</p>
This text font color is #52715C.
.myBgColor { background-color: #52715C; }
<div style="background-color:#52715C">Inner text</div>
This div background color is #52715C.
.myBorderColor { border: 1px solid #52715C; }
<div style="border:3px solid #52715C">Div</div>
This div border color is #52715C.
.myOpacity80 { color: #52715C; opacity: 0.8; }
<p style="color:#52715C;opacity:0.8;">80%</p>
Text with #52715C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52715C;}
<p style="text-shadow: 3px 3px 1px #52715C">Text here.</p>
This text has shadow with #52715C color.
.textShadow {text-shadow: 3px 3px 1px #52715C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52715C, 5px 5px 20px red">Text here.</p>
This text has shadow with #52715C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52715C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52715C, Direction=45, Strength=4)">Text</p>
This text has shadow with #52715C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52715C; -webkit-box-shadow: 1px 1px 3px 2px #52715C; box-shadow: 1px 1px 3px 2px #52715C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52715C; -webkit-box-shadow: 1px 1px 3px 2px #52715C; box-shadow:1px 1px 3px 2px #52715C;">
Div content here</div>
This text has color #52715C on black background.
This text has color #52715C on white background.
This text has black color on #52715C background.
This text has white color on #52715C background.