HEX: #506498
RGB: (80,100,152)
#506498 contains mainly green and blue colors. Web safe color of #506498 is #666699 (or #669).
#506498 color RGB value is (80,100,152).
RGB: (80,100,152)
(31%, 39%, 60%)
R 80 of 255 = 31%
G 100 of 255 = 39%
B 152 of 255 = 60%
R + G + B ~ 43%. #506498 is middle color (not dark and not light).
R + G + B = 80 + 100 + 152 = 332 (100%)
R 80 of 332 ~ 24.1%
G 100 of 332 ~ 30.12%
B 152 of 332 ~ 45.78'%
#506498 color CMYK value is (47,34,0,40).
CMYK: (47,34,0,40) C47M34Y0K40 (47%,34%,0%,40%) (0.47/0.34/0.00/0.40)
Color #506498 in popluar color models
50 | 64 | 98 | |
---|---|---|---|
RGB | 80 | 100 | 152 |
HSL | 223° | 31.03% | 45.49% |
HSB/HSV | 223° | 47.37% | 59.61% |
CMYK | 47.37% | 34.21% | 0.00% |
40.39% |
Color #506498 in popluar number systems.
HEX | 50 | 64 | 98 |
Decimal | 80 | 100 | 152 |
Binary | 1010000 | 1100100 | 10011000 |
Octal | 120 | 144 | 230 |
Shades of #506498
Tints of #506498
Examples of css and html codes for elements with #506498 color. Also use rgb(80,100,152) instead hex code.
.myTextColor { color: #506498; }
<p style="color:#506498">This sample text font color is #506498.</p>
This text font color is #506498.
.myBgColor { background-color: #506498; }
<div style="background-color:#506498">Inner text</div>
This div background color is #506498.
.myBorderColor { border: 1px solid #506498; }
<div style="border:3px solid #506498">Div</div>
This div border color is #506498.
.myOpacity80 { color: #506498; opacity: 0.8; }
<p style="color:#506498;opacity:0.8;">80%</p>
Text with #506498 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506498;}
<p style="text-shadow: 3px 3px 1px #506498">Text here.</p>
This text has shadow with #506498 color.
.textShadow {text-shadow: 3px 3px 1px #506498', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506498, 5px 5px 20px red">Text here.</p>
This text has shadow with #506498 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506498, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506498, Direction=45, Strength=4)">Text</p>
This text has shadow with #506498 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #506498;
-webkit-box-shadow: 1px 1px 3px 2px #506498;
box-shadow: 1px 1px 3px 2px #506498;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #506498; -webkit-box-shadow: 1px 1px 3px 2px #506498; box-shadow:1px 1px 3px 2px #506498;">
Div content here
</div>
This text has color #506498 on black background.
This text has color #506498 on white background.
This text has black color on #506498 background.
This text has white color on #506498 background.
Complementary color for #hex is #AF9B67.