HEX: #516663
RGB: (81,102,99)
#516663 contains red, green and blue colors in about the same proportion. Web safe color of #516663 is #666666 (or #666).
#516663 color RGB value is (81,102,99).
RGB: (81,102,99) (32%,40%,39%)
R 81 of 255 = 32%
G 102 of 255 = 40%
B 99 of 255 = 39%
R + G + B ~ 37%. #516663 is quite dark color.
R + G + B =
81 + 102 + 99 = 282 (100%)
R 81 of 282 ~ 28.72%
G 102 of 282 ~ 36.17%
B 99 of 282 ~ 35.11%
#516663 color CMYK value is (21,0,3,60).
CMYK: (21,0,3,60) C21M0Y3K60 (21%,0%,3%,60%) (0.21/0.00/0.03/0.60)
51 | 66 | 63 | |
---|---|---|---|
RGB | 81 | 102 | 99 |
HSL | 171° | 11.48% | 35.88% |
HSB/HSV | 171° | 20.59% | 40.00% |
CMYK | 20.59% | 0.00% | 2.94% |
60.00% |
HEX | 51 | 66 | 63 |
Decimal | 81 | 102 | 99 |
Binary | 1010001 | 1100110 | 1100011 |
Octal | 121 | 146 | 143 |
Examples of css and html codes for elements with #516663 color. Also use rgb(81,102,99) instead hex code.
.myTextColor { color: #516663; }
<p style="color:#516663">This sample text font color is #516663.</p>
This text font color is #516663.
.myBgColor { background-color: #516663; }
<div style="background-color:#516663">Inner text</div>
This div background color is #516663.
.myBorderColor { border: 1px solid #516663; }
<div style="border:3px solid #516663">Div</div>
This div border color is #516663.
.myOpacity80 { color: #516663; opacity: 0.8; }
<p style="color:#516663;opacity:0.8;">80%</p>
Text with #516663 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516663;}
<p style="text-shadow: 3px 3px 1px #516663">Text here.</p>
This text has shadow with #516663 color.
.textShadow {text-shadow: 3px 3px 1px #516663, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516663, 5px 5px 20px red">Text here.</p>
This text has shadow with #516663 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516663, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516663, Direction=45, Strength=4)">Text</p>
This text has shadow with #516663 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516663; -webkit-box-shadow: 1px 1px 3px 2px #516663; box-shadow: 1px 1px 3px 2px #516663; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516663; -webkit-box-shadow: 1px 1px 3px 2px #516663; box-shadow:1px 1px 3px 2px #516663;">
Div content here</div>
This text has color #516663 on black background.
This text has color #516663 on white background.
This text has black color on #516663 background.
This text has white color on #516663 background.