HEX: #52746D
RGB: (82,116,109)
#52746D contains red, green and blue colors in about the same proportion. Web safe color of #52746D is #666666 (or #666).
#52746D color RGB value is (82,116,109).
RGB: (82,116,109) (32%,45%,43%)
R 82 of 255 = 32%
G 116 of 255 = 45%
B 109 of 255 = 43%
R + G + B ~ 40%. #52746D is middle color (not dark and not light).
R + G + B =
82 + 116 + 109 = 307 (100%)
R 82 of 307 ~ 26.71%
G 116 of 307 ~ 37.79%
B 109 of 307 ~ 35.5%
#52746D color CMYK value is (29,0,6,55).
CMYK: (29,0,6,55) C29M0Y6K55 (29%,0%,6%,55%) (0.29/0.00/0.06/0.55)
52 | 74 | 6D | |
---|---|---|---|
RGB | 82 | 116 | 109 |
HSL | 168° | 17.17% | 38.82% |
HSB/HSV | 168° | 29.31% | 45.49% |
CMYK | 29.31% | 0.00% | 6.03% |
54.51% |
HEX | 52 | 74 | 6D |
Decimal | 82 | 116 | 109 |
Binary | 1010010 | 1110100 | 1101101 |
Octal | 122 | 164 | 155 |
Examples of css and html codes for elements with #52746D color. Also use rgb(82,116,109) instead hex code.
.myTextColor { color: #52746D; }
<p style="color:#52746D">This sample text font color is #52746D.</p>
This text font color is #52746D.
.myBgColor { background-color: #52746D; }
<div style="background-color:#52746D">Inner text</div>
This div background color is #52746D.
.myBorderColor { border: 1px solid #52746D; }
<div style="border:3px solid #52746D">Div</div>
This div border color is #52746D.
.myOpacity80 { color: #52746D; opacity: 0.8; }
<p style="color:#52746D;opacity:0.8;">80%</p>
Text with #52746D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52746D;}
<p style="text-shadow: 3px 3px 1px #52746D">Text here.</p>
This text has shadow with #52746D color.
.textShadow {text-shadow: 3px 3px 1px #52746D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52746D, 5px 5px 20px red">Text here.</p>
This text has shadow with #52746D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52746D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52746D, Direction=45, Strength=4)">Text</p>
This text has shadow with #52746D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52746D; -webkit-box-shadow: 1px 1px 3px 2px #52746D; box-shadow: 1px 1px 3px 2px #52746D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52746D; -webkit-box-shadow: 1px 1px 3px 2px #52746D; box-shadow:1px 1px 3px 2px #52746D;">
Div content here</div>
This text has color #52746D on black background.
This text has color #52746D on white background.
This text has black color on #52746D background.
This text has white color on #52746D background.