HEX: #506F7B
RGB: (80,111,123)
#506F7B contains red, green and blue colors in about the same proportion. Web safe color of #506F7B is #666666 (or #666).
#506F7B color RGB value is (80,111,123).
RGB: (80,111,123) (31%,44%,48%)
R 80 of 255 = 31%
G 111 of 255 = 44%
B 123 of 255 = 48%
R + G + B ~ 41%. #506F7B is middle color (not dark and not light).
R + G + B =
80 + 111 + 123 = 314 (100%)
R 80 of 314 ~ 25.48%
G 111 of 314 ~ 35.35%
B 123 of 314 ~ 39.17%
#506F7B color CMYK value is (35,10,0,52).
CMYK: (35,10,0,52) C35M10Y0K52 (35%,10%,0%,52%) (0.35/0.10/0.00/0.52)
50 | 6F | 7B | |
---|---|---|---|
RGB | 80 | 111 | 123 |
HSL | 197° | 21.18% | 39.80% |
HSB/HSV | 197° | 34.96% | 48.24% |
CMYK | 34.96% | 9.76% | 0.00% |
51.76% |
HEX | 50 | 6F | 7B |
Decimal | 80 | 111 | 123 |
Binary | 1010000 | 1101111 | 1111011 |
Octal | 120 | 157 | 173 |
Examples of css and html codes for elements with #506F7B color. Also use rgb(80,111,123) instead hex code.
.myTextColor { color: #506F7B; }
<p style="color:#506F7B">This sample text font color is #506F7B.</p>
This text font color is #506F7B.
.myBgColor { background-color: #506F7B; }
<div style="background-color:#506F7B">Inner text</div>
This div background color is #506F7B.
.myBorderColor { border: 1px solid #506F7B; }
<div style="border:3px solid #506F7B">Div</div>
This div border color is #506F7B.
.myOpacity80 { color: #506F7B; opacity: 0.8; }
<p style="color:#506F7B;opacity:0.8;">80%</p>
Text with #506F7B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506F7B;}
<p style="text-shadow: 3px 3px 1px #506F7B">Text here.</p>
This text has shadow with #506F7B color.
.textShadow {text-shadow: 3px 3px 1px #506F7B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506F7B, 5px 5px 20px red">Text here.</p>
This text has shadow with #506F7B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506F7B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506F7B, Direction=45, Strength=4)">Text</p>
This text has shadow with #506F7B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506F7B; -webkit-box-shadow: 1px 1px 3px 2px #506F7B; box-shadow: 1px 1px 3px 2px #506F7B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506F7B; -webkit-box-shadow: 1px 1px 3px 2px #506F7B; box-shadow:1px 1px 3px 2px #506F7B;">
Div content here</div>
This text has color #506F7B on black background.
This text has color #506F7B on white background.
This text has black color on #506F7B background.
This text has white color on #506F7B background.