HEX: #506593
RGB: (80,101,147)
#506593 contains mainly green and blue colors. Web safe color of #506593 is #666699 (or #669).
#506593 color RGB value is (80,101,147).
RGB: (80,101,147) (31%,40%,58%)
R 80 of 255 = 31%
G 101 of 255 = 40%
B 147 of 255 = 58%
R + G + B ~ 43%. #506593 is middle color (not dark and not light).
R + G + B =
80 + 101 + 147 = 328 (100%)
R 80 of 328 ~ 24.39%
G 101 of 328 ~ 30.79%
B 147 of 328 ~ 44.82%
#506593 color CMYK value is (46,31,0,42).
CMYK: (46,31,0,42) C46M31Y0K42 (46%,31%,0%,42%) (0.46/0.31/0.00/0.42)
50 | 65 | 93 | |
---|---|---|---|
RGB | 80 | 101 | 147 |
HSL | 221° | 29.52% | 44.51% |
HSB/HSV | 221° | 45.58% | 57.65% |
CMYK | 45.58% | 31.29% | 0.00% |
42.35% |
HEX | 50 | 65 | 93 |
Decimal | 80 | 101 | 147 |
Binary | 1010000 | 1100101 | 10010011 |
Octal | 120 | 145 | 223 |
Examples of css and html codes for elements with #506593 color. Also use rgb(80,101,147) instead hex code.
.myTextColor { color: #506593; }
<p style="color:#506593">This sample text font color is #506593.</p>
This text font color is #506593.
.myBgColor { background-color: #506593; }
<div style="background-color:#506593">Inner text</div>
This div background color is #506593.
.myBorderColor { border: 1px solid #506593; }
<div style="border:3px solid #506593">Div</div>
This div border color is #506593.
.myOpacity80 { color: #506593; opacity: 0.8; }
<p style="color:#506593;opacity:0.8;">80%</p>
Text with #506593 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506593;}
<p style="text-shadow: 3px 3px 1px #506593">Text here.</p>
This text has shadow with #506593 color.
.textShadow {text-shadow: 3px 3px 1px #506593, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506593, 5px 5px 20px red">Text here.</p>
This text has shadow with #506593 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506593, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506593, Direction=45, Strength=4)">Text</p>
This text has shadow with #506593 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506593; -webkit-box-shadow: 1px 1px 3px 2px #506593; box-shadow: 1px 1px 3px 2px #506593; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506593; -webkit-box-shadow: 1px 1px 3px 2px #506593; box-shadow:1px 1px 3px 2px #506593;">
Div content here</div>
This text has color #506593 on black background.
This text has color #506593 on white background.
This text has black color on #506593 background.
This text has white color on #506593 background.