HEX: #509055
RGB: (80,144,85)
#509055 contains mainly green and blue colors. Web safe color of #509055 is #669966 (or #696).
#509055 color RGB value is (80,144,85).
RGB: (80,144,85) (31%,56%,33%)
R 80 of 255 = 31%
G 144 of 255 = 56%
B 85 of 255 = 33%
R + G + B ~ 40%. #509055 is middle color (not dark and not light).
R + G + B =
80 + 144 + 85 = 309 (100%)
R 80 of 309 ~ 25.89%
G 144 of 309 ~ 46.6%
B 85 of 309 ~ 27.51%
#509055 color CMYK value is (44,0,41,44).
CMYK: (44,0,41,44) C44M0Y41K44 (44%,0%,41%,44%) (0.44/0.00/0.41/0.44)
50 | 90 | 55 | |
---|---|---|---|
RGB | 80 | 144 | 85 |
HSL | 125° | 28.57% | 43.92% |
HSB/HSV | 125° | 44.44% | 56.47% |
CMYK | 44.44% | 0.00% | 40.97% |
43.53% |
HEX | 50 | 90 | 55 |
Decimal | 80 | 144 | 85 |
Binary | 1010000 | 10010000 | 1010101 |
Octal | 120 | 220 | 125 |
Examples of css and html codes for elements with #509055 color. Also use rgb(80,144,85) instead hex code.
.myTextColor { color: #509055; }
<p style="color:#509055">This sample text font color is #509055.</p>
This text font color is #509055.
.myBgColor { background-color: #509055; }
<div style="background-color:#509055">Inner text</div>
This div background color is #509055.
.myBorderColor { border: 1px solid #509055; }
<div style="border:3px solid #509055">Div</div>
This div border color is #509055.
.myOpacity80 { color: #509055; opacity: 0.8; }
<p style="color:#509055;opacity:0.8;">80%</p>
Text with #509055 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509055;}
<p style="text-shadow: 3px 3px 1px #509055">Text here.</p>
This text has shadow with #509055 color.
.textShadow {text-shadow: 3px 3px 1px #509055, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509055, 5px 5px 20px red">Text here.</p>
This text has shadow with #509055 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509055, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509055, Direction=45, Strength=4)">Text</p>
This text has shadow with #509055 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509055; -webkit-box-shadow: 1px 1px 3px 2px #509055; box-shadow: 1px 1px 3px 2px #509055; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509055; -webkit-box-shadow: 1px 1px 3px 2px #509055; box-shadow:1px 1px 3px 2px #509055;">
Div content here</div>
This text has color #509055 on black background.
This text has color #509055 on white background.
This text has black color on #509055 background.
This text has white color on #509055 background.