HEX: #509959
RGB: (80,153,89)
#509959 contains mainly green color. Web safe color of #509959 is #669966 (or #696).
#509959 color RGB value is (80,153,89).
RGB: (80,153,89) (31%,60%,35%)
R 80 of 255 = 31%
G 153 of 255 = 60%
B 89 of 255 = 35%
R + G + B ~ 42%. #509959 is middle color (not dark and not light).
R + G + B =
80 + 153 + 89 = 322 (100%)
R 80 of 322 ~ 24.84%
G 153 of 322 ~ 47.52%
B 89 of 322 ~ 27.64%
#509959 color CMYK value is (48,0,42,40).
CMYK: (48,0,42,40) C48M0Y42K40 (48%,0%,42%,40%) (0.48/0.00/0.42/0.40)
50 | 99 | 59 | |
---|---|---|---|
RGB | 80 | 153 | 89 |
HSL | 127° | 31.33% | 45.69% |
HSB/HSV | 127° | 47.71% | 60.00% |
CMYK | 47.71% | 0.00% | 41.83% |
40.00% |
HEX | 50 | 99 | 59 |
Decimal | 80 | 153 | 89 |
Binary | 1010000 | 10011001 | 1011001 |
Octal | 120 | 231 | 131 |
Examples of css and html codes for elements with #509959 color. Also use rgb(80,153,89) instead hex code.
.myTextColor { color: #509959; }
<p style="color:#509959">This sample text font color is #509959.</p>
This text font color is #509959.
.myBgColor { background-color: #509959; }
<div style="background-color:#509959">Inner text</div>
This div background color is #509959.
.myBorderColor { border: 1px solid #509959; }
<div style="border:3px solid #509959">Div</div>
This div border color is #509959.
.myOpacity80 { color: #509959; opacity: 0.8; }
<p style="color:#509959;opacity:0.8;">80%</p>
Text with #509959 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509959;}
<p style="text-shadow: 3px 3px 1px #509959">Text here.</p>
This text has shadow with #509959 color.
.textShadow {text-shadow: 3px 3px 1px #509959, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509959, 5px 5px 20px red">Text here.</p>
This text has shadow with #509959 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509959, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509959, Direction=45, Strength=4)">Text</p>
This text has shadow with #509959 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509959; -webkit-box-shadow: 1px 1px 3px 2px #509959; box-shadow: 1px 1px 3px 2px #509959; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509959; -webkit-box-shadow: 1px 1px 3px 2px #509959; box-shadow:1px 1px 3px 2px #509959;">
Div content here</div>
This text has color #509959 on black background.
This text has color #509959 on white background.
This text has black color on #509959 background.
This text has white color on #509959 background.