HEX: #51847D
RGB: (81,132,125)
#51847D contains red, green and blue colors in about the same proportion. Web safe color of #51847D is #669966 (or #696).
#51847D color RGB value is (81,132,125).
RGB: (81,132,125) (32%,52%,49%)
R 81 of 255 = 32%
G 132 of 255 = 52%
B 125 of 255 = 49%
R + G + B ~ 44%. #51847D is middle color (not dark and not light).
R + G + B =
81 + 132 + 125 = 338 (100%)
R 81 of 338 ~ 23.96%
G 132 of 338 ~ 39.05%
B 125 of 338 ~ 36.98%
#51847D color CMYK value is (39,0,5,48).
CMYK: (39,0,5,48) C39M0Y5K48 (39%,0%,5%,48%) (0.39/0.00/0.05/0.48)
51 | 84 | 7D | |
---|---|---|---|
RGB | 81 | 132 | 125 |
HSL | 172° | 23.94% | 41.76% |
HSB/HSV | 172° | 38.64% | 51.76% |
CMYK | 38.64% | 0.00% | 5.30% |
48.24% |
HEX | 51 | 84 | 7D |
Decimal | 81 | 132 | 125 |
Binary | 1010001 | 10000100 | 1111101 |
Octal | 121 | 204 | 175 |
Examples of css and html codes for elements with #51847D color. Also use rgb(81,132,125) instead hex code.
.myTextColor { color: #51847D; }
<p style="color:#51847D">This sample text font color is #51847D.</p>
This text font color is #51847D.
.myBgColor { background-color: #51847D; }
<div style="background-color:#51847D">Inner text</div>
This div background color is #51847D.
.myBorderColor { border: 1px solid #51847D; }
<div style="border:3px solid #51847D">Div</div>
This div border color is #51847D.
.myOpacity80 { color: #51847D; opacity: 0.8; }
<p style="color:#51847D;opacity:0.8;">80%</p>
Text with #51847D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51847D;}
<p style="text-shadow: 3px 3px 1px #51847D">Text here.</p>
This text has shadow with #51847D color.
.textShadow {text-shadow: 3px 3px 1px #51847D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51847D, 5px 5px 20px red">Text here.</p>
This text has shadow with #51847D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51847D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51847D, Direction=45, Strength=4)">Text</p>
This text has shadow with #51847D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51847D; -webkit-box-shadow: 1px 1px 3px 2px #51847D; box-shadow: 1px 1px 3px 2px #51847D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51847D; -webkit-box-shadow: 1px 1px 3px 2px #51847D; box-shadow:1px 1px 3px 2px #51847D;">
Div content here</div>
This text has color #51847D on black background.
This text has color #51847D on white background.
This text has black color on #51847D background.
This text has white color on #51847D background.