HEX: #51857D
RGB: (81,133,125)
#51857D contains red, green and blue colors in about the same proportion. Web safe color of #51857D is #669966 (or #696).
#51857D color RGB value is (81,133,125).
RGB: (81,133,125) (32%,52%,49%)
R 81 of 255 = 32%
G 133 of 255 = 52%
B 125 of 255 = 49%
R + G + B ~ 44%. #51857D is middle color (not dark and not light).
R + G + B =
81 + 133 + 125 = 339 (100%)
R 81 of 339 ~ 23.89%
G 133 of 339 ~ 39.23%
B 125 of 339 ~ 36.87%
#51857D color CMYK value is (39,0,6,48).
CMYK: (39,0,6,48) C39M0Y6K48 (39%,0%,6%,48%) (0.39/0.00/0.06/0.48)
51 | 85 | 7D | |
---|---|---|---|
RGB | 81 | 133 | 125 |
HSL | 171° | 24.30% | 41.96% |
HSB/HSV | 171° | 39.10% | 52.16% |
CMYK | 39.10% | 0.00% | 6.02% |
47.84% |
HEX | 51 | 85 | 7D |
Decimal | 81 | 133 | 125 |
Binary | 1010001 | 10000101 | 1111101 |
Octal | 121 | 205 | 175 |
Examples of css and html codes for elements with #51857D color. Also use rgb(81,133,125) instead hex code.
.myTextColor { color: #51857D; }
<p style="color:#51857D">This sample text font color is #51857D.</p>
This text font color is #51857D.
.myBgColor { background-color: #51857D; }
<div style="background-color:#51857D">Inner text</div>
This div background color is #51857D.
.myBorderColor { border: 1px solid #51857D; }
<div style="border:3px solid #51857D">Div</div>
This div border color is #51857D.
.myOpacity80 { color: #51857D; opacity: 0.8; }
<p style="color:#51857D;opacity:0.8;">80%</p>
Text with #51857D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51857D;}
<p style="text-shadow: 3px 3px 1px #51857D">Text here.</p>
This text has shadow with #51857D color.
.textShadow {text-shadow: 3px 3px 1px #51857D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51857D, 5px 5px 20px red">Text here.</p>
This text has shadow with #51857D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51857D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51857D, Direction=45, Strength=4)">Text</p>
This text has shadow with #51857D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51857D; -webkit-box-shadow: 1px 1px 3px 2px #51857D; box-shadow: 1px 1px 3px 2px #51857D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51857D; -webkit-box-shadow: 1px 1px 3px 2px #51857D; box-shadow:1px 1px 3px 2px #51857D;">
Div content here</div>
This text has color #51857D on black background.
This text has color #51857D on white background.
This text has black color on #51857D background.
This text has white color on #51857D background.