HEX: #508977
RGB: (80,137,119)
#508977 contains red, green and blue colors in about the same proportion. Web safe color of #508977 is #669966 (or #696).
#508977 color RGB value is (80,137,119).
RGB: (80,137,119) (31%,54%,47%)
R 80 of 255 = 31%
G 137 of 255 = 54%
B 119 of 255 = 47%
R + G + B ~ 44%. #508977 is middle color (not dark and not light).
R + G + B =
80 + 137 + 119 = 336 (100%)
R 80 of 336 ~ 23.81%
G 137 of 336 ~ 40.77%
B 119 of 336 ~ 35.42%
#508977 color CMYK value is (42,0,13,46).
CMYK: (42,0,13,46) C42M0Y13K46 (42%,0%,13%,46%) (0.42/0.00/0.13/0.46)
50 | 89 | 77 | |
---|---|---|---|
RGB | 80 | 137 | 119 |
HSL | 161° | 26.27% | 42.55% |
HSB/HSV | 161° | 41.61% | 53.73% |
CMYK | 41.61% | 0.00% | 13.14% |
46.27% |
HEX | 50 | 89 | 77 |
Decimal | 80 | 137 | 119 |
Binary | 1010000 | 10001001 | 1110111 |
Octal | 120 | 211 | 167 |
Examples of css and html codes for elements with #508977 color. Also use rgb(80,137,119) instead hex code.
.myTextColor { color: #508977; }
<p style="color:#508977">This sample text font color is #508977.</p>
This text font color is #508977.
.myBgColor { background-color: #508977; }
<div style="background-color:#508977">Inner text</div>
This div background color is #508977.
.myBorderColor { border: 1px solid #508977; }
<div style="border:3px solid #508977">Div</div>
This div border color is #508977.
.myOpacity80 { color: #508977; opacity: 0.8; }
<p style="color:#508977;opacity:0.8;">80%</p>
Text with #508977 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #508977;}
<p style="text-shadow: 3px 3px 1px #508977">Text here.</p>
This text has shadow with #508977 color.
.textShadow {text-shadow: 3px 3px 1px #508977, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #508977, 5px 5px 20px red">Text here.</p>
This text has shadow with #508977 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#508977, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#508977, Direction=45, Strength=4)">Text</p>
This text has shadow with #508977 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #508977; -webkit-box-shadow: 1px 1px 3px 2px #508977; box-shadow: 1px 1px 3px 2px #508977; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #508977; -webkit-box-shadow: 1px 1px 3px 2px #508977; box-shadow:1px 1px 3px 2px #508977;">
Div content here</div>
This text has color #508977 on black background.
This text has color #508977 on white background.
This text has black color on #508977 background.
This text has white color on #508977 background.