HEX: #517699
RGB: (81,118,153)
#517699 contains mainly green and blue colors. Web safe color of #517699 is #666699 (or #669).
#517699 color RGB value is (81,118,153).
RGB: (81,118,153) (32%,46%,60%)
R 81 of 255 = 32%
G 118 of 255 = 46%
B 153 of 255 = 60%
R + G + B ~ 46%. #517699 is middle color (not dark and not light).
R + G + B =
81 + 118 + 153 = 352 (100%)
R 81 of 352 ~ 23.01%
G 118 of 352 ~ 33.52%
B 153 of 352 ~ 43.47%
#517699 color CMYK value is (47,23,0,40).
CMYK: (47,23,0,40) C47M23Y0K40 (47%,23%,0%,40%) (0.47/0.23/0.00/0.40)
51 | 76 | 99 | |
---|---|---|---|
RGB | 81 | 118 | 153 |
HSL | 209° | 30.77% | 45.88% |
HSB/HSV | 209° | 47.06% | 60.00% |
CMYK | 47.06% | 22.88% | 0.00% |
40.00% |
HEX | 51 | 76 | 99 |
Decimal | 81 | 118 | 153 |
Binary | 1010001 | 1110110 | 10011001 |
Octal | 121 | 166 | 231 |
Examples of css and html codes for elements with #517699 color. Also use rgb(81,118,153) instead hex code.
.myTextColor { color: #517699; }
<p style="color:#517699">This sample text font color is #517699.</p>
This text font color is #517699.
.myBgColor { background-color: #517699; }
<div style="background-color:#517699">Inner text</div>
This div background color is #517699.
.myBorderColor { border: 1px solid #517699; }
<div style="border:3px solid #517699">Div</div>
This div border color is #517699.
.myOpacity80 { color: #517699; opacity: 0.8; }
<p style="color:#517699;opacity:0.8;">80%</p>
Text with #517699 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #517699;}
<p style="text-shadow: 3px 3px 1px #517699">Text here.</p>
This text has shadow with #517699 color.
.textShadow {text-shadow: 3px 3px 1px #517699, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #517699, 5px 5px 20px red">Text here.</p>
This text has shadow with #517699 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#517699, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#517699, Direction=45, Strength=4)">Text</p>
This text has shadow with #517699 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #517699; -webkit-box-shadow: 1px 1px 3px 2px #517699; box-shadow: 1px 1px 3px 2px #517699; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #517699; -webkit-box-shadow: 1px 1px 3px 2px #517699; box-shadow:1px 1px 3px 2px #517699;">
Div content here</div>
This text has color #517699 on black background.
This text has color #517699 on white background.
This text has black color on #517699 background.
This text has white color on #517699 background.