HEX: #51997C
RGB: (81,153,124)
#51997C contains mainly green and blue colors. Web safe color of #51997C is #669966 (or #696).
#51997C color RGB value is (81,153,124).
RGB: (81,153,124) (32%,60%,49%)
R 81 of 255 = 32%
G 153 of 255 = 60%
B 124 of 255 = 49%
R + G + B ~ 47%. #51997C is middle color (not dark and not light).
R + G + B =
81 + 153 + 124 = 358 (100%)
R 81 of 358 ~ 22.63%
G 153 of 358 ~ 42.74%
B 124 of 358 ~ 34.64%
#51997C color CMYK value is (47,0,19,40).
CMYK: (47,0,19,40) C47M0Y19K40 (47%,0%,19%,40%) (0.47/0.00/0.19/0.40)
51 | 99 | 7C | |
---|---|---|---|
RGB | 81 | 153 | 124 |
HSL | 156° | 30.77% | 45.88% |
HSB/HSV | 156° | 47.06% | 60.00% |
CMYK | 47.06% | 0.00% | 18.95% |
40.00% |
HEX | 51 | 99 | 7C |
Decimal | 81 | 153 | 124 |
Binary | 1010001 | 10011001 | 1111100 |
Octal | 121 | 231 | 174 |
Examples of css and html codes for elements with #51997C color. Also use rgb(81,153,124) instead hex code.
.myTextColor { color: #51997C; }
<p style="color:#51997C">This sample text font color is #51997C.</p>
This text font color is #51997C.
.myBgColor { background-color: #51997C; }
<div style="background-color:#51997C">Inner text</div>
This div background color is #51997C.
.myBorderColor { border: 1px solid #51997C; }
<div style="border:3px solid #51997C">Div</div>
This div border color is #51997C.
.myOpacity80 { color: #51997C; opacity: 0.8; }
<p style="color:#51997C;opacity:0.8;">80%</p>
Text with #51997C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51997C;}
<p style="text-shadow: 3px 3px 1px #51997C">Text here.</p>
This text has shadow with #51997C color.
.textShadow {text-shadow: 3px 3px 1px #51997C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51997C, 5px 5px 20px red">Text here.</p>
This text has shadow with #51997C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51997C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51997C, Direction=45, Strength=4)">Text</p>
This text has shadow with #51997C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51997C; -webkit-box-shadow: 1px 1px 3px 2px #51997C; box-shadow: 1px 1px 3px 2px #51997C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51997C; -webkit-box-shadow: 1px 1px 3px 2px #51997C; box-shadow:1px 1px 3px 2px #51997C;">
Div content here</div>
This text has color #51997C on black background.
This text has color #51997C on white background.
This text has black color on #51997C background.
This text has white color on #51997C background.