HEX: #504CD1
RGB: (80,76,209)
#504CD1 contains mainly blue color. Web safe color of #504CD1 is #6633CC (or #63C).
#504CD1 color RGB value is (80,76,209).
RGB: (80,76,209)
(31%, 30%, 82%)
R 80 of 255 = 31%
G 76 of 255 = 30%
B 209 of 255 = 82%
R + G + B ~ 48%. #504CD1 is middle color (not dark and not light).
R + G + B = 80 + 76 + 209 = 365 (100%)
R 80 of 365 ~ 21.92%
G 76 of 365 ~ 20.82%
B 209 of 365 ~ 57.26'%
#504CD1 color CMYK value is (62,64,0,18).
CMYK: (62,64,0,18)
C62M64Y0K18 (62%, 64%, 0%, 18%)
(0.62 / 0.64 / 0.00 / 0.18)
Color #504CD1 in popluar color models
50 | 4C | D1 | |
---|---|---|---|
RGB | 80 | 76 | 209 |
HSL | 242° | 59.11% | 55.88% |
HSB/HSV | 242° | 63.64% | 81.96% |
CMYK | 61.72% | 63.64% | 0.00% |
18.04% |
Color #504CD1 in popluar number systems.
HEX | 50 | 4C | D1 |
Decimal | 80 | 76 | 209 |
Binary | 1010000 | 1001100 | 11010001 |
Octal | 120 | 114 | 321 |
Shades of #504CD1
Tints of #504CD1
Examples of css and html codes for elements with #504CD1 color. Also use rgb(80,76,209) instead hex code.
.myTextColor { color: #504CD1; }
<p style="color:#504CD1">This sample text font color is #504CD1.</p>
This text font color is #504CD1.
.myBgColor { background-color: #504CD1; }
<div style="background-color:#504CD1">Inner text</div>
This div background color is #504CD1.
.myBorderColor { border: 1px solid #504CD1; }
<div style="border:3px solid #504CD1">Div</div>
This div border color is #504CD1.
.myOpacity80 { color: #504CD1; opacity: 0.8; }
<p style="color:#504CD1;opacity:0.8;">80%</p>
Text with #504CD1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504CD1;}
<p style="text-shadow: 3px 3px 1px #504CD1">Text here.</p>
This text has shadow with #504CD1 color.
.textShadow {text-shadow: 3px 3px 1px #504CD1', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504CD1, 5px 5px 20px red">Text here.</p>
This text has shadow with #504CD1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504CD1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504CD1, Direction=45, Strength=4)">Text</p>
This text has shadow with #504CD1 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #504CD1;
-webkit-box-shadow: 1px 1px 3px 2px #504CD1;
box-shadow: 1px 1px 3px 2px #504CD1;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #504CD1; -webkit-box-shadow: 1px 1px 3px 2px #504CD1; box-shadow:1px 1px 3px 2px #504CD1;">
Div content here
</div>
This text has color #504CD1 on black background.
This text has color #504CD1 on white background.
This text has black color on #504CD1 background.
This text has white color on #504CD1 background.
Complementary color for #hex is #AFB32E.