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