HEX: #51A879
RGB: (81,168,121)
#51A879 contains mainly green and blue colors. Web safe color of #51A879 is #669966 (or #696).
#51A879 color RGB value is (81,168,121).
RGB: (81,168,121) (32%,66%,47%)
R 81 of 255 = 32%
G 168 of 255 = 66%
B 121 of 255 = 47%
R + G + B ~ 48%. #51A879 is middle color (not dark and not light).
R + G + B =
81 + 168 + 121 = 370 (100%)
R 81 of 370 ~ 21.89%
G 168 of 370 ~ 45.41%
B 121 of 370 ~ 32.7%
#51A879 color CMYK value is (52,0,28,34).
CMYK: (52,0,28,34) C52M0Y28K34 (52%,0%,28%,34%) (0.52/0.00/0.28/0.34)
51 | A8 | 79 | |
---|---|---|---|
RGB | 81 | 168 | 121 |
HSL | 148° | 34.94% | 48.82% |
HSB/HSV | 148° | 51.79% | 65.88% |
CMYK | 51.79% | 0.00% | 27.98% |
34.12% |
HEX | 51 | A8 | 79 |
Decimal | 81 | 168 | 121 |
Binary | 1010001 | 10101000 | 1111001 |
Octal | 121 | 250 | 171 |
Examples of css and html codes for elements with #51A879 color. Also use rgb(81,168,121) instead hex code.
.myTextColor { color: #51A879; }
<p style="color:#51A879">This sample text font color is #51A879.</p>
This text font color is #51A879.
.myBgColor { background-color: #51A879; }
<div style="background-color:#51A879">Inner text</div>
This div background color is #51A879.
.myBorderColor { border: 1px solid #51A879; }
<div style="border:3px solid #51A879">Div</div>
This div border color is #51A879.
.myOpacity80 { color: #51A879; opacity: 0.8; }
<p style="color:#51A879;opacity:0.8;">80%</p>
Text with #51A879 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51A879;}
<p style="text-shadow: 3px 3px 1px #51A879">Text here.</p>
This text has shadow with #51A879 color.
.textShadow {text-shadow: 3px 3px 1px #51A879, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51A879, 5px 5px 20px red">Text here.</p>
This text has shadow with #51A879 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51A879, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51A879, Direction=45, Strength=4)">Text</p>
This text has shadow with #51A879 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51A879; -webkit-box-shadow: 1px 1px 3px 2px #51A879; box-shadow: 1px 1px 3px 2px #51A879; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51A879; -webkit-box-shadow: 1px 1px 3px 2px #51A879; box-shadow:1px 1px 3px 2px #51A879;">
Div content here</div>
This text has color #51A879 on black background.
This text has color #51A879 on white background.
This text has black color on #51A879 background.
This text has white color on #51A879 background.