HEX: #507466
RGB: (80,116,102)
#507466 contains red, green and blue colors in about the same proportion. Web safe color of #507466 is #666666 (or #666).
#507466 color RGB value is (80,116,102).
RGB: (80,116,102) (31%,45%,40%)
R 80 of 255 = 31%
G 116 of 255 = 45%
B 102 of 255 = 40%
R + G + B ~ 39%. #507466 is quite dark color.
R + G + B =
80 + 116 + 102 = 298 (100%)
R 80 of 298 ~ 26.85%
G 116 of 298 ~ 38.93%
B 102 of 298 ~ 34.23%
#507466 color CMYK value is (31,0,12,55).
CMYK: (31,0,12,55) C31M0Y12K55 (31%,0%,12%,55%) (0.31/0.00/0.12/0.55)
50 | 74 | 66 | |
---|---|---|---|
RGB | 80 | 116 | 102 |
HSL | 157° | 18.37% | 38.43% |
HSB/HSV | 157° | 31.03% | 45.49% |
CMYK | 31.03% | 0.00% | 12.07% |
54.51% |
HEX | 50 | 74 | 66 |
Decimal | 80 | 116 | 102 |
Binary | 1010000 | 1110100 | 1100110 |
Octal | 120 | 164 | 146 |
Examples of css and html codes for elements with #507466 color. Also use rgb(80,116,102) instead hex code.
.myTextColor { color: #507466; }
<p style="color:#507466">This sample text font color is #507466.</p>
This text font color is #507466.
.myBgColor { background-color: #507466; }
<div style="background-color:#507466">Inner text</div>
This div background color is #507466.
.myBorderColor { border: 1px solid #507466; }
<div style="border:3px solid #507466">Div</div>
This div border color is #507466.
.myOpacity80 { color: #507466; opacity: 0.8; }
<p style="color:#507466;opacity:0.8;">80%</p>
Text with #507466 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507466;}
<p style="text-shadow: 3px 3px 1px #507466">Text here.</p>
This text has shadow with #507466 color.
.textShadow {text-shadow: 3px 3px 1px #507466, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507466, 5px 5px 20px red">Text here.</p>
This text has shadow with #507466 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507466, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507466, Direction=45, Strength=4)">Text</p>
This text has shadow with #507466 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507466; -webkit-box-shadow: 1px 1px 3px 2px #507466; box-shadow: 1px 1px 3px 2px #507466; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507466; -webkit-box-shadow: 1px 1px 3px 2px #507466; box-shadow:1px 1px 3px 2px #507466;">
Div content here</div>
This text has color #507466 on black background.
This text has color #507466 on white background.
This text has black color on #507466 background.
This text has white color on #507466 background.