HEX: #51779F
RGB: (81,119,159)
#51779F contains mainly green and blue colors. Web safe color of #51779F is #666699 (or #669).
#51779F color RGB value is (81,119,159).
RGB: (81,119,159) (32%,47%,62%)
R 81 of 255 = 32%
G 119 of 255 = 47%
B 159 of 255 = 62%
R + G + B ~ 47%. #51779F is middle color (not dark and not light).
R + G + B =
81 + 119 + 159 = 359 (100%)
R 81 of 359 ~ 22.56%
G 119 of 359 ~ 33.15%
B 159 of 359 ~ 44.29%
#51779F color CMYK value is (49,25,0,38).
CMYK: (49,25,0,38) C49M25Y0K38 (49%,25%,0%,38%) (0.49/0.25/0.00/0.38)
51 | 77 | 9F | |
---|---|---|---|
RGB | 81 | 119 | 159 |
HSL | 211° | 32.50% | 47.06% |
HSB/HSV | 211° | 49.06% | 62.35% |
CMYK | 49.06% | 25.16% | 0.00% |
37.65% |
HEX | 51 | 77 | 9F |
Decimal | 81 | 119 | 159 |
Binary | 1010001 | 1110111 | 10011111 |
Octal | 121 | 167 | 237 |
Examples of css and html codes for elements with #51779F color. Also use rgb(81,119,159) instead hex code.
.myTextColor { color: #51779F; }
<p style="color:#51779F">This sample text font color is #51779F.</p>
This text font color is #51779F.
.myBgColor { background-color: #51779F; }
<div style="background-color:#51779F">Inner text</div>
This div background color is #51779F.
.myBorderColor { border: 1px solid #51779F; }
<div style="border:3px solid #51779F">Div</div>
This div border color is #51779F.
.myOpacity80 { color: #51779F; opacity: 0.8; }
<p style="color:#51779F;opacity:0.8;">80%</p>
Text with #51779F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51779F;}
<p style="text-shadow: 3px 3px 1px #51779F">Text here.</p>
This text has shadow with #51779F color.
.textShadow {text-shadow: 3px 3px 1px #51779F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51779F, 5px 5px 20px red">Text here.</p>
This text has shadow with #51779F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51779F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51779F, Direction=45, Strength=4)">Text</p>
This text has shadow with #51779F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51779F; -webkit-box-shadow: 1px 1px 3px 2px #51779F; box-shadow: 1px 1px 3px 2px #51779F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51779F; -webkit-box-shadow: 1px 1px 3px 2px #51779F; box-shadow:1px 1px 3px 2px #51779F;">
Div content here</div>
This text has color #51779F on black background.
This text has color #51779F on white background.
This text has black color on #51779F background.
This text has white color on #51779F background.