HEX: #51B873
RGB: (81,184,115)
#51B873 contains mainly green color. Web safe color of #51B873 is #66CC66 (or #6C6).
#51B873 color RGB value is (81,184,115).
RGB: (81,184,115) (32%,72%,45%)
R 81 of 255 = 32%
G 184 of 255 = 72%
B 115 of 255 = 45%
R + G + B ~ 50%. #51B873 is middle color (not dark and not light).
R + G + B =
81 + 184 + 115 = 380 (100%)
R 81 of 380 ~ 21.32%
G 184 of 380 ~ 48.42%
B 115 of 380 ~ 30.26%
#51B873 color CMYK value is (56,0,38,28).
CMYK: (56,0,38,28) C56M0Y38K28 (56%,0%,38%,28%) (0.56/0.00/0.38/0.28)
51 | B8 | 73 | |
---|---|---|---|
RGB | 81 | 184 | 115 |
HSL | 140° | 42.04% | 51.96% |
HSB/HSV | 140° | 55.98% | 72.16% |
CMYK | 55.98% | 0.00% | 37.50% |
27.84% |
HEX | 51 | B8 | 73 |
Decimal | 81 | 184 | 115 |
Binary | 1010001 | 10111000 | 1110011 |
Octal | 121 | 270 | 163 |
Examples of css and html codes for elements with #51B873 color. Also use rgb(81,184,115) instead hex code.
.myTextColor { color: #51B873; }
<p style="color:#51B873">This sample text font color is #51B873.</p>
This text font color is #51B873.
.myBgColor { background-color: #51B873; }
<div style="background-color:#51B873">Inner text</div>
This div background color is #51B873.
.myBorderColor { border: 1px solid #51B873; }
<div style="border:3px solid #51B873">Div</div>
This div border color is #51B873.
.myOpacity80 { color: #51B873; opacity: 0.8; }
<p style="color:#51B873;opacity:0.8;">80%</p>
Text with #51B873 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51B873;}
<p style="text-shadow: 3px 3px 1px #51B873">Text here.</p>
This text has shadow with #51B873 color.
.textShadow {text-shadow: 3px 3px 1px #51B873, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51B873, 5px 5px 20px red">Text here.</p>
This text has shadow with #51B873 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51B873, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51B873, Direction=45, Strength=4)">Text</p>
This text has shadow with #51B873 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51B873; -webkit-box-shadow: 1px 1px 3px 2px #51B873; box-shadow: 1px 1px 3px 2px #51B873; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51B873; -webkit-box-shadow: 1px 1px 3px 2px #51B873; box-shadow:1px 1px 3px 2px #51B873;">
Div content here</div>
This text has color #51B873 on black background.
This text has color #51B873 on white background.
This text has black color on #51B873 background.
This text has white color on #51B873 background.