HEX: #509462
RGB: (80,148,98)
#509462 contains mainly green and blue colors. Web safe color of #509462 is #669966 (or #696).
#509462 color RGB value is (80,148,98).
RGB: (80,148,98) (31%,58%,38%)
R 80 of 255 = 31%
G 148 of 255 = 58%
B 98 of 255 = 38%
R + G + B ~ 42%. #509462 is middle color (not dark and not light).
R + G + B =
80 + 148 + 98 = 326 (100%)
R 80 of 326 ~ 24.54%
G 148 of 326 ~ 45.4%
B 98 of 326 ~ 30.06%
#509462 color CMYK value is (46,0,34,42).
CMYK: (46,0,34,42) C46M0Y34K42 (46%,0%,34%,42%) (0.46/0.00/0.34/0.42)
50 | 94 | 62 | |
---|---|---|---|
RGB | 80 | 148 | 98 |
HSL | 136° | 29.82% | 44.71% |
HSB/HSV | 136° | 45.95% | 58.04% |
CMYK | 45.95% | 0.00% | 33.78% |
41.96% |
HEX | 50 | 94 | 62 |
Decimal | 80 | 148 | 98 |
Binary | 1010000 | 10010100 | 1100010 |
Octal | 120 | 224 | 142 |
Examples of css and html codes for elements with #509462 color. Also use rgb(80,148,98) instead hex code.
.myTextColor { color: #509462; }
<p style="color:#509462">This sample text font color is #509462.</p>
This text font color is #509462.
.myBgColor { background-color: #509462; }
<div style="background-color:#509462">Inner text</div>
This div background color is #509462.
.myBorderColor { border: 1px solid #509462; }
<div style="border:3px solid #509462">Div</div>
This div border color is #509462.
.myOpacity80 { color: #509462; opacity: 0.8; }
<p style="color:#509462;opacity:0.8;">80%</p>
Text with #509462 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509462;}
<p style="text-shadow: 3px 3px 1px #509462">Text here.</p>
This text has shadow with #509462 color.
.textShadow {text-shadow: 3px 3px 1px #509462, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509462, 5px 5px 20px red">Text here.</p>
This text has shadow with #509462 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509462, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509462, Direction=45, Strength=4)">Text</p>
This text has shadow with #509462 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509462; -webkit-box-shadow: 1px 1px 3px 2px #509462; box-shadow: 1px 1px 3px 2px #509462; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509462; -webkit-box-shadow: 1px 1px 3px 2px #509462; box-shadow:1px 1px 3px 2px #509462;">
Div content here</div>
This text has color #509462 on black background.
This text has color #509462 on white background.
This text has black color on #509462 background.
This text has white color on #509462 background.