HEX: #506386
RGB: (80,99,134)
#506386 contains red, green and blue colors in about the same proportion. Web safe color of #506386 is #666699 (or #669).
#506386 color RGB value is (80,99,134).
RGB: (80,99,134) (31%,39%,53%)
R 80 of 255 = 31%
G 99 of 255 = 39%
B 134 of 255 = 53%
R + G + B ~ 41%. #506386 is middle color (not dark and not light).
R + G + B =
80 + 99 + 134 = 313 (100%)
R 80 of 313 ~ 25.56%
G 99 of 313 ~ 31.63%
B 134 of 313 ~ 42.81%
#506386 color CMYK value is (40,26,0,47).
CMYK: (40,26,0,47) C40M26Y0K47 (40%,26%,0%,47%) (0.40/0.26/0.00/0.47)
50 | 63 | 86 | |
---|---|---|---|
RGB | 80 | 99 | 134 |
HSL | 219° | 25.23% | 41.96% |
HSB/HSV | 219° | 40.30% | 52.55% |
CMYK | 40.30% | 26.12% | 0.00% |
47.45% |
HEX | 50 | 63 | 86 |
Decimal | 80 | 99 | 134 |
Binary | 1010000 | 1100011 | 10000110 |
Octal | 120 | 143 | 206 |
Examples of css and html codes for elements with #506386 color. Also use rgb(80,99,134) instead hex code.
.myTextColor { color: #506386; }
<p style="color:#506386">This sample text font color is #506386.</p>
This text font color is #506386.
.myBgColor { background-color: #506386; }
<div style="background-color:#506386">Inner text</div>
This div background color is #506386.
.myBorderColor { border: 1px solid #506386; }
<div style="border:3px solid #506386">Div</div>
This div border color is #506386.
.myOpacity80 { color: #506386; opacity: 0.8; }
<p style="color:#506386;opacity:0.8;">80%</p>
Text with #506386 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506386;}
<p style="text-shadow: 3px 3px 1px #506386">Text here.</p>
This text has shadow with #506386 color.
.textShadow {text-shadow: 3px 3px 1px #506386, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506386, 5px 5px 20px red">Text here.</p>
This text has shadow with #506386 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506386, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506386, Direction=45, Strength=4)">Text</p>
This text has shadow with #506386 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506386; -webkit-box-shadow: 1px 1px 3px 2px #506386; box-shadow: 1px 1px 3px 2px #506386; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506386; -webkit-box-shadow: 1px 1px 3px 2px #506386; box-shadow:1px 1px 3px 2px #506386;">
Div content here</div>
This text has color #506386 on black background.
This text has color #506386 on white background.
This text has black color on #506386 background.
This text has white color on #506386 background.