HEX: #516CA6
RGB: (81,108,166)
#516CA6 contains mainly green and blue colors. Web safe color of #516CA6 is #666699 (or #669).
#516CA6 color RGB value is (81,108,166).
RGB: (81,108,166)
(32%, 42%, 65%)
R 81 of 255 = 32%
G 108 of 255 = 42%
B 166 of 255 = 65%
R + G + B ~ 46%. #516CA6 is middle color (not dark and not light).
R + G + B = 81 + 108 + 166 = 355 (100%)
R 81 of 355 ~ 22.82%
G 108 of 355 ~ 30.42%
B 166 of 355 ~ 46.76'%
#516CA6 color CMYK value is (51,35,0,35).
CMYK: (51,35,0,35) C51M35Y0K35 (51%,35%,0%,35%) (0.51/0.35/0.00/0.35)
Color #516CA6 in popluar color models
51 | 6C | A6 | |
---|---|---|---|
RGB | 81 | 108 | 166 |
HSL | 221° | 34.41% | 48.43% |
HSB/HSV | 221° | 51.20% | 65.10% |
CMYK | 51.20% | 34.94% | 0.00% |
34.90% |
Color #516CA6 in popluar number systems.
HEX | 51 | 6C | A6 |
Decimal | 81 | 108 | 166 |
Binary | 1010001 | 1101100 | 10100110 |
Octal | 121 | 154 | 246 |
Shades of #516CA6
Tints of #516CA6
Examples of css and html codes for elements with #516CA6 color. Also use rgb(81,108,166) instead hex code.
.myTextColor { color: #516CA6; }
<p style="color:#516CA6">This sample text font color is #516CA6.</p>
This text font color is #516CA6.
.myBgColor { background-color: #516CA6; }
<div style="background-color:#516CA6">Inner text</div>
This div background color is #516CA6.
.myBorderColor { border: 1px solid #516CA6; }
<div style="border:3px solid #516CA6">Div</div>
This div border color is #516CA6.
.myOpacity80 { color: #516CA6; opacity: 0.8; }
<p style="color:#516CA6;opacity:0.8;">80%</p>
Text with #516CA6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516CA6;}
<p style="text-shadow: 3px 3px 1px #516CA6">Text here.</p>
This text has shadow with #516CA6 color.
.textShadow {text-shadow: 3px 3px 1px #516CA6', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516CA6, 5px 5px 20px red">Text here.</p>
This text has shadow with #516CA6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516CA6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516CA6, Direction=45, Strength=4)">Text</p>
This text has shadow with #516CA6 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #516CA6;
-webkit-box-shadow: 1px 1px 3px 2px #516CA6;
box-shadow: 1px 1px 3px 2px #516CA6;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #516CA6; -webkit-box-shadow: 1px 1px 3px 2px #516CA6; box-shadow:1px 1px 3px 2px #516CA6;">
Div content here
</div>
This text has color #516CA6 on black background.
This text has color #516CA6 on white background.
This text has black color on #516CA6 background.
This text has white color on #516CA6 background.
Complementary color for #hex is #AE9359.