HEX: #508555
RGB: (80,133,85)
#508555 contains red, green and blue colors in about the same proportion. Web safe color of #508555 is #669966 (or #696).
#508555 color RGB value is (80,133,85).
RGB: (80,133,85) (31%,52%,33%)
R 80 of 255 = 31%
G 133 of 255 = 52%
B 85 of 255 = 33%
R + G + B ~ 39%. #508555 is quite dark color.
R + G + B =
80 + 133 + 85 = 298 (100%)
R 80 of 298 ~ 26.85%
G 133 of 298 ~ 44.63%
B 85 of 298 ~ 28.52%
#508555 color CMYK value is (40,0,36,48).
CMYK: (40,0,36,48) C40M0Y36K48 (40%,0%,36%,48%) (0.40/0.00/0.36/0.48)
50 | 85 | 55 | |
---|---|---|---|
RGB | 80 | 133 | 85 |
HSL | 126° | 24.88% | 41.76% |
HSB/HSV | 126° | 39.85% | 52.16% |
CMYK | 39.85% | 0.00% | 36.09% |
47.84% |
HEX | 50 | 85 | 55 |
Decimal | 80 | 133 | 85 |
Binary | 1010000 | 10000101 | 1010101 |
Octal | 120 | 205 | 125 |
Examples of css and html codes for elements with #508555 color. Also use rgb(80,133,85) instead hex code.
.myTextColor { color: #508555; }
<p style="color:#508555">This sample text font color is #508555.</p>
This text font color is #508555.
.myBgColor { background-color: #508555; }
<div style="background-color:#508555">Inner text</div>
This div background color is #508555.
.myBorderColor { border: 1px solid #508555; }
<div style="border:3px solid #508555">Div</div>
This div border color is #508555.
.myOpacity80 { color: #508555; opacity: 0.8; }
<p style="color:#508555;opacity:0.8;">80%</p>
Text with #508555 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #508555;}
<p style="text-shadow: 3px 3px 1px #508555">Text here.</p>
This text has shadow with #508555 color.
.textShadow {text-shadow: 3px 3px 1px #508555, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #508555, 5px 5px 20px red">Text here.</p>
This text has shadow with #508555 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#508555, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#508555, Direction=45, Strength=4)">Text</p>
This text has shadow with #508555 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #508555; -webkit-box-shadow: 1px 1px 3px 2px #508555; box-shadow: 1px 1px 3px 2px #508555; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #508555; -webkit-box-shadow: 1px 1px 3px 2px #508555; box-shadow:1px 1px 3px 2px #508555;">
Div content here</div>
This text has color #508555 on black background.
This text has color #508555 on white background.
This text has black color on #508555 background.
This text has white color on #508555 background.