HEX: #509678
RGB: (80,150,120)
#509678 contains mainly green and blue colors. Web safe color of #509678 is #669966 (or #696).
#509678 color RGB value is (80,150,120).
RGB: (80,150,120) (31%,59%,47%)
R 80 of 255 = 31%
G 150 of 255 = 59%
B 120 of 255 = 47%
R + G + B ~ 46%. #509678 is middle color (not dark and not light).
R + G + B =
80 + 150 + 120 = 350 (100%)
R 80 of 350 ~ 22.86%
G 150 of 350 ~ 42.86%
B 120 of 350 ~ 34.29%
#509678 color CMYK value is (47,0,20,41).
CMYK: (47,0,20,41) C47M0Y20K41 (47%,0%,20%,41%) (0.47/0.00/0.20/0.41)
50 | 96 | 78 | |
---|---|---|---|
RGB | 80 | 150 | 120 |
HSL | 154° | 30.43% | 45.10% |
HSB/HSV | 154° | 46.67% | 58.82% |
CMYK | 46.67% | 0.00% | 20.00% |
41.18% |
HEX | 50 | 96 | 78 |
Decimal | 80 | 150 | 120 |
Binary | 1010000 | 10010110 | 1111000 |
Octal | 120 | 226 | 170 |
Examples of css and html codes for elements with #509678 color. Also use rgb(80,150,120) instead hex code.
.myTextColor { color: #509678; }
<p style="color:#509678">This sample text font color is #509678.</p>
This text font color is #509678.
.myBgColor { background-color: #509678; }
<div style="background-color:#509678">Inner text</div>
This div background color is #509678.
.myBorderColor { border: 1px solid #509678; }
<div style="border:3px solid #509678">Div</div>
This div border color is #509678.
.myOpacity80 { color: #509678; opacity: 0.8; }
<p style="color:#509678;opacity:0.8;">80%</p>
Text with #509678 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509678;}
<p style="text-shadow: 3px 3px 1px #509678">Text here.</p>
This text has shadow with #509678 color.
.textShadow {text-shadow: 3px 3px 1px #509678, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509678, 5px 5px 20px red">Text here.</p>
This text has shadow with #509678 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509678, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509678, Direction=45, Strength=4)">Text</p>
This text has shadow with #509678 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509678; -webkit-box-shadow: 1px 1px 3px 2px #509678; box-shadow: 1px 1px 3px 2px #509678; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509678; -webkit-box-shadow: 1px 1px 3px 2px #509678; box-shadow:1px 1px 3px 2px #509678;">
Div content here</div>
This text has color #509678 on black background.
This text has color #509678 on white background.
This text has black color on #509678 background.
This text has white color on #509678 background.