HEX: #51759C
RGB: (81,117,156)
#51759C contains mainly green and blue colors. Web safe color of #51759C is #666699 (or #669).
#51759C color RGB value is (81,117,156).
RGB: (81,117,156) (32%,46%,61%)
R 81 of 255 = 32%
G 117 of 255 = 46%
B 156 of 255 = 61%
R + G + B ~ 46%. #51759C is middle color (not dark and not light).
R + G + B =
81 + 117 + 156 = 354 (100%)
R 81 of 354 ~ 22.88%
G 117 of 354 ~ 33.05%
B 156 of 354 ~ 44.07%
#51759C color CMYK value is (48,25,0,39).
CMYK: (48,25,0,39) C48M25Y0K39 (48%,25%,0%,39%) (0.48/0.25/0.00/0.39)
51 | 75 | 9C | |
---|---|---|---|
RGB | 81 | 117 | 156 |
HSL | 211° | 31.65% | 46.47% |
HSB/HSV | 211° | 48.08% | 61.18% |
CMYK | 48.08% | 25.00% | 0.00% |
38.82% |
HEX | 51 | 75 | 9C |
Decimal | 81 | 117 | 156 |
Binary | 1010001 | 1110101 | 10011100 |
Octal | 121 | 165 | 234 |
Examples of css and html codes for elements with #51759C color. Also use rgb(81,117,156) instead hex code.
.myTextColor { color: #51759C; }
<p style="color:#51759C">This sample text font color is #51759C.</p>
This text font color is #51759C.
.myBgColor { background-color: #51759C; }
<div style="background-color:#51759C">Inner text</div>
This div background color is #51759C.
.myBorderColor { border: 1px solid #51759C; }
<div style="border:3px solid #51759C">Div</div>
This div border color is #51759C.
.myOpacity80 { color: #51759C; opacity: 0.8; }
<p style="color:#51759C;opacity:0.8;">80%</p>
Text with #51759C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51759C;}
<p style="text-shadow: 3px 3px 1px #51759C">Text here.</p>
This text has shadow with #51759C color.
.textShadow {text-shadow: 3px 3px 1px #51759C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51759C, 5px 5px 20px red">Text here.</p>
This text has shadow with #51759C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51759C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51759C, Direction=45, Strength=4)">Text</p>
This text has shadow with #51759C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51759C; -webkit-box-shadow: 1px 1px 3px 2px #51759C; box-shadow: 1px 1px 3px 2px #51759C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51759C; -webkit-box-shadow: 1px 1px 3px 2px #51759C; box-shadow:1px 1px 3px 2px #51759C;">
Div content here</div>
This text has color #51759C on black background.
This text has color #51759C on white background.
This text has black color on #51759C background.
This text has white color on #51759C background.