HEX: #51B671
RGB: (81,182,113)
#51B671 contains mainly green color. Web safe color of #51B671 is #66CC66 (or #6C6).
#51B671 color RGB value is (81,182,113).
RGB: (81,182,113) (32%,71%,44%)
R 81 of 255 = 32%
G 182 of 255 = 71%
B 113 of 255 = 44%
R + G + B ~ 49%. #51B671 is middle color (not dark and not light).
R + G + B =
81 + 182 + 113 = 376 (100%)
R 81 of 376 ~ 21.54%
G 182 of 376 ~ 48.4%
B 113 of 376 ~ 30.05%
#51B671 color CMYK value is (55,0,38,29).
CMYK: (55,0,38,29) C55M0Y38K29 (55%,0%,38%,29%) (0.55/0.00/0.38/0.29)
51 | B6 | 71 | |
---|---|---|---|
RGB | 81 | 182 | 113 |
HSL | 139° | 40.89% | 51.57% |
HSB/HSV | 139° | 55.49% | 71.37% |
CMYK | 55.49% | 0.00% | 37.91% |
28.63% |
HEX | 51 | B6 | 71 |
Decimal | 81 | 182 | 113 |
Binary | 1010001 | 10110110 | 1110001 |
Octal | 121 | 266 | 161 |
Examples of css and html codes for elements with #51B671 color. Also use rgb(81,182,113) instead hex code.
.myTextColor { color: #51B671; }
<p style="color:#51B671">This sample text font color is #51B671.</p>
This text font color is #51B671.
.myBgColor { background-color: #51B671; }
<div style="background-color:#51B671">Inner text</div>
This div background color is #51B671.
.myBorderColor { border: 1px solid #51B671; }
<div style="border:3px solid #51B671">Div</div>
This div border color is #51B671.
.myOpacity80 { color: #51B671; opacity: 0.8; }
<p style="color:#51B671;opacity:0.8;">80%</p>
Text with #51B671 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51B671;}
<p style="text-shadow: 3px 3px 1px #51B671">Text here.</p>
This text has shadow with #51B671 color.
.textShadow {text-shadow: 3px 3px 1px #51B671, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51B671, 5px 5px 20px red">Text here.</p>
This text has shadow with #51B671 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51B671, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51B671, Direction=45, Strength=4)">Text</p>
This text has shadow with #51B671 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51B671; -webkit-box-shadow: 1px 1px 3px 2px #51B671; box-shadow: 1px 1px 3px 2px #51B671; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51B671; -webkit-box-shadow: 1px 1px 3px 2px #51B671; box-shadow:1px 1px 3px 2px #51B671;">
Div content here</div>
This text has color #51B671 on black background.
This text has color #51B671 on white background.
This text has black color on #51B671 background.
This text has white color on #51B671 background.