HEX: #509F7A
RGB: (80,159,122)
#509F7A contains mainly green and blue colors. Web safe color of #509F7A is #669966 (or #696).
#509F7A color RGB value is (80,159,122).
RGB: (80,159,122) (31%,62%,48%)
R 80 of 255 = 31%
G 159 of 255 = 62%
B 122 of 255 = 48%
R + G + B ~ 47%. #509F7A is middle color (not dark and not light).
R + G + B =
80 + 159 + 122 = 361 (100%)
R 80 of 361 ~ 22.16%
G 159 of 361 ~ 44.04%
B 122 of 361 ~ 33.8%
#509F7A color CMYK value is (50,0,23,38).
CMYK: (50,0,23,38) C50M0Y23K38 (50%,0%,23%,38%) (0.50/0.00/0.23/0.38)
50 | 9F | 7A | |
---|---|---|---|
RGB | 80 | 159 | 122 |
HSL | 152° | 33.05% | 46.86% |
HSB/HSV | 152° | 49.69% | 62.35% |
CMYK | 49.69% | 0.00% | 23.27% |
37.65% |
HEX | 50 | 9F | 7A |
Decimal | 80 | 159 | 122 |
Binary | 1010000 | 10011111 | 1111010 |
Octal | 120 | 237 | 172 |
Examples of css and html codes for elements with #509F7A color. Also use rgb(80,159,122) instead hex code.
.myTextColor { color: #509F7A; }
<p style="color:#509F7A">This sample text font color is #509F7A.</p>
This text font color is #509F7A.
.myBgColor { background-color: #509F7A; }
<div style="background-color:#509F7A">Inner text</div>
This div background color is #509F7A.
.myBorderColor { border: 1px solid #509F7A; }
<div style="border:3px solid #509F7A">Div</div>
This div border color is #509F7A.
.myOpacity80 { color: #509F7A; opacity: 0.8; }
<p style="color:#509F7A;opacity:0.8;">80%</p>
Text with #509F7A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509F7A;}
<p style="text-shadow: 3px 3px 1px #509F7A">Text here.</p>
This text has shadow with #509F7A color.
.textShadow {text-shadow: 3px 3px 1px #509F7A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509F7A, 5px 5px 20px red">Text here.</p>
This text has shadow with #509F7A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509F7A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509F7A, Direction=45, Strength=4)">Text</p>
This text has shadow with #509F7A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509F7A; -webkit-box-shadow: 1px 1px 3px 2px #509F7A; box-shadow: 1px 1px 3px 2px #509F7A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509F7A; -webkit-box-shadow: 1px 1px 3px 2px #509F7A; box-shadow:1px 1px 3px 2px #509F7A;">
Div content here</div>
This text has color #509F7A on black background.
This text has color #509F7A on white background.
This text has black color on #509F7A background.
This text has white color on #509F7A background.