HEX: #507D79
RGB: (80,125,121)
#507D79 contains red, green and blue colors in about the same proportion. Web safe color of #507D79 is #666666 (or #666).
#507D79 color RGB value is (80,125,121).
RGB: (80,125,121) (31%,49%,47%)
R 80 of 255 = 31%
G 125 of 255 = 49%
B 121 of 255 = 47%
R + G + B ~ 42%. #507D79 is middle color (not dark and not light).
R + G + B =
80 + 125 + 121 = 326 (100%)
R 80 of 326 ~ 24.54%
G 125 of 326 ~ 38.34%
B 121 of 326 ~ 37.12%
#507D79 color CMYK value is (36,0,3,51).
CMYK: (36,0,3,51) C36M0Y3K51 (36%,0%,3%,51%) (0.36/0.00/0.03/0.51)
50 | 7D | 79 | |
---|---|---|---|
RGB | 80 | 125 | 121 |
HSL | 175° | 21.95% | 40.20% |
HSB/HSV | 175° | 36.00% | 49.02% |
CMYK | 36.00% | 0.00% | 3.20% |
50.98% |
HEX | 50 | 7D | 79 |
Decimal | 80 | 125 | 121 |
Binary | 1010000 | 1111101 | 1111001 |
Octal | 120 | 175 | 171 |
Examples of css and html codes for elements with #507D79 color. Also use rgb(80,125,121) instead hex code.
.myTextColor { color: #507D79; }
<p style="color:#507D79">This sample text font color is #507D79.</p>
This text font color is #507D79.
.myBgColor { background-color: #507D79; }
<div style="background-color:#507D79">Inner text</div>
This div background color is #507D79.
.myBorderColor { border: 1px solid #507D79; }
<div style="border:3px solid #507D79">Div</div>
This div border color is #507D79.
.myOpacity80 { color: #507D79; opacity: 0.8; }
<p style="color:#507D79;opacity:0.8;">80%</p>
Text with #507D79 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507D79;}
<p style="text-shadow: 3px 3px 1px #507D79">Text here.</p>
This text has shadow with #507D79 color.
.textShadow {text-shadow: 3px 3px 1px #507D79, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507D79, 5px 5px 20px red">Text here.</p>
This text has shadow with #507D79 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507D79, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507D79, Direction=45, Strength=4)">Text</p>
This text has shadow with #507D79 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507D79; -webkit-box-shadow: 1px 1px 3px 2px #507D79; box-shadow: 1px 1px 3px 2px #507D79; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507D79; -webkit-box-shadow: 1px 1px 3px 2px #507D79; box-shadow:1px 1px 3px 2px #507D79;">
Div content here</div>
This text has color #507D79 on black background.
This text has color #507D79 on white background.
This text has black color on #507D79 background.
This text has white color on #507D79 background.