HEX: #517FD7
RGB: (81,127,215)
#517FD7 contains mainly blue color. Web safe color of #517FD7 is #6666CC (or #66C).
#517FD7 color RGB value is (81,127,215).
RGB: (81,127,215) (32%,50%,84%)
R 81 of 255 = 32%
G 127 of 255 = 50%
B 215 of 255 = 84%
R + G + B ~ 55%. #517FD7 is middle color (not dark and not light).
R + G + B =
81 + 127 + 215 = 423 (100%)
R 81 of 423 ~ 19.15%
G 127 of 423 ~ 30.02%
B 215 of 423 ~ 50.83%
#517FD7 color CMYK value is (62,41,0,16).
CMYK: (62,41,0,16) C62M41Y0K16 (62%,41%,0%,16%) (0.62/0.41/0.00/0.16)
51 | 7F | D7 | |
---|---|---|---|
RGB | 81 | 127 | 215 |
HSL | 219° | 62.62% | 58.04% |
HSB/HSV | 219° | 62.33% | 84.31% |
CMYK | 62.33% | 40.93% | 0.00% |
15.69% |
HEX | 51 | 7F | D7 |
Decimal | 81 | 127 | 215 |
Binary | 1010001 | 1111111 | 11010111 |
Octal | 121 | 177 | 327 |
Examples of css and html codes for elements with #517FD7 color. Also use rgb(81,127,215) instead hex code.
.myTextColor { color: #517FD7; }
<p style="color:#517FD7">This sample text font color is #517FD7.</p>
This text font color is #517FD7.
.myBgColor { background-color: #517FD7; }
<div style="background-color:#517FD7">Inner text</div>
This div background color is #517FD7.
.myBorderColor { border: 1px solid #517FD7; }
<div style="border:3px solid #517FD7">Div</div>
This div border color is #517FD7.
.myOpacity80 { color: #517FD7; opacity: 0.8; }
<p style="color:#517FD7;opacity:0.8;">80%</p>
Text with #517FD7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #517FD7;}
<p style="text-shadow: 3px 3px 1px #517FD7">Text here.</p>
This text has shadow with #517FD7 color.
.textShadow {text-shadow: 3px 3px 1px #517FD7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #517FD7, 5px 5px 20px red">Text here.</p>
This text has shadow with #517FD7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#517FD7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#517FD7, Direction=45, Strength=4)">Text</p>
This text has shadow with #517FD7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #517FD7; -webkit-box-shadow: 1px 1px 3px 2px #517FD7; box-shadow: 1px 1px 3px 2px #517FD7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #517FD7; -webkit-box-shadow: 1px 1px 3px 2px #517FD7; box-shadow:1px 1px 3px 2px #517FD7;">
Div content here</div>
This text has color #517FD7 on black background.
This text has color #517FD7 on white background.
This text has black color on #517FD7 background.
This text has white color on #517FD7 background.