HEX: #506E8A
RGB: (80,110,138)
#506E8A contains red, green and blue colors in about the same proportion. Web safe color of #506E8A is #666699 (or #669).
#506E8A color RGB value is (80,110,138).
RGB: (80,110,138) (31%,43%,54%)
R 80 of 255 = 31%
G 110 of 255 = 43%
B 138 of 255 = 54%
R + G + B ~ 43%. #506E8A is middle color (not dark and not light).
R + G + B =
80 + 110 + 138 = 328 (100%)
R 80 of 328 ~ 24.39%
G 110 of 328 ~ 33.54%
B 138 of 328 ~ 42.07%
#506E8A color CMYK value is (42,20,0,46).
CMYK: (42,20,0,46) C42M20Y0K46 (42%,20%,0%,46%) (0.42/0.20/0.00/0.46)
50 | 6E | 8A | |
---|---|---|---|
RGB | 80 | 110 | 138 |
HSL | 209° | 26.61% | 42.75% |
HSB/HSV | 209° | 42.03% | 54.12% |
CMYK | 42.03% | 20.29% | 0.00% |
45.88% |
HEX | 50 | 6E | 8A |
Decimal | 80 | 110 | 138 |
Binary | 1010000 | 1101110 | 10001010 |
Octal | 120 | 156 | 212 |
Examples of css and html codes for elements with #506E8A color. Also use rgb(80,110,138) instead hex code.
.myTextColor { color: #506E8A; }
<p style="color:#506E8A">This sample text font color is #506E8A.</p>
This text font color is #506E8A.
.myBgColor { background-color: #506E8A; }
<div style="background-color:#506E8A">Inner text</div>
This div background color is #506E8A.
.myBorderColor { border: 1px solid #506E8A; }
<div style="border:3px solid #506E8A">Div</div>
This div border color is #506E8A.
.myOpacity80 { color: #506E8A; opacity: 0.8; }
<p style="color:#506E8A;opacity:0.8;">80%</p>
Text with #506E8A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506E8A;}
<p style="text-shadow: 3px 3px 1px #506E8A">Text here.</p>
This text has shadow with #506E8A color.
.textShadow {text-shadow: 3px 3px 1px #506E8A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506E8A, 5px 5px 20px red">Text here.</p>
This text has shadow with #506E8A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506E8A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506E8A, Direction=45, Strength=4)">Text</p>
This text has shadow with #506E8A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506E8A; -webkit-box-shadow: 1px 1px 3px 2px #506E8A; box-shadow: 1px 1px 3px 2px #506E8A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506E8A; -webkit-box-shadow: 1px 1px 3px 2px #506E8A; box-shadow:1px 1px 3px 2px #506E8A;">
Div content here</div>
This text has color #506E8A on black background.
This text has color #506E8A on white background.
This text has black color on #506E8A background.
This text has white color on #506E8A background.