HEX: #51738D
RGB: (81,115,141)
#51738D contains mainly green and blue colors. Web safe color of #51738D is #666699 (or #669).
#51738D color RGB value is (81,115,141).
RGB: (81,115,141) (32%,45%,55%)
R 81 of 255 = 32%
G 115 of 255 = 45%
B 141 of 255 = 55%
R + G + B ~ 44%. #51738D is middle color (not dark and not light).
R + G + B =
81 + 115 + 141 = 337 (100%)
R 81 of 337 ~ 24.04%
G 115 of 337 ~ 34.12%
B 141 of 337 ~ 41.84%
#51738D color CMYK value is (43,18,0,45).
CMYK: (43,18,0,45) C43M18Y0K45 (43%,18%,0%,45%) (0.43/0.18/0.00/0.45)
51 | 73 | 8D | |
---|---|---|---|
RGB | 81 | 115 | 141 |
HSL | 206° | 27.03% | 43.53% |
HSB/HSV | 206° | 42.55% | 55.29% |
CMYK | 42.55% | 18.44% | 0.00% |
44.71% |
HEX | 51 | 73 | 8D |
Decimal | 81 | 115 | 141 |
Binary | 1010001 | 1110011 | 10001101 |
Octal | 121 | 163 | 215 |
Examples of css and html codes for elements with #51738D color. Also use rgb(81,115,141) instead hex code.
.myTextColor { color: #51738D; }
<p style="color:#51738D">This sample text font color is #51738D.</p>
This text font color is #51738D.
.myBgColor { background-color: #51738D; }
<div style="background-color:#51738D">Inner text</div>
This div background color is #51738D.
.myBorderColor { border: 1px solid #51738D; }
<div style="border:3px solid #51738D">Div</div>
This div border color is #51738D.
.myOpacity80 { color: #51738D; opacity: 0.8; }
<p style="color:#51738D;opacity:0.8;">80%</p>
Text with #51738D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51738D;}
<p style="text-shadow: 3px 3px 1px #51738D">Text here.</p>
This text has shadow with #51738D color.
.textShadow {text-shadow: 3px 3px 1px #51738D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51738D, 5px 5px 20px red">Text here.</p>
This text has shadow with #51738D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51738D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51738D, Direction=45, Strength=4)">Text</p>
This text has shadow with #51738D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51738D; -webkit-box-shadow: 1px 1px 3px 2px #51738D; box-shadow: 1px 1px 3px 2px #51738D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51738D; -webkit-box-shadow: 1px 1px 3px 2px #51738D; box-shadow:1px 1px 3px 2px #51738D;">
Div content here</div>
This text has color #51738D on black background.
This text has color #51738D on white background.
This text has black color on #51738D background.
This text has white color on #51738D background.