HEX: #504FAE
RGB: (80,79,174)
#504FAE contains mainly blue color. Web safe color of #504FAE is #666699 (or #669).
#504FAE color RGB value is (80,79,174).
RGB: (80,79,174) (31%,31%,68%)
R 80 of 255 = 31%
G 79 of 255 = 31%
B 174 of 255 = 68%
R + G + B ~ 43%. #504FAE is middle color (not dark and not light).
R + G + B =
80 + 79 + 174 = 333 (100%)
R 80 of 333 ~ 24.02%
G 79 of 333 ~ 23.72%
B 174 of 333 ~ 52.25%
#504FAE color CMYK value is (54,55,0,32).
CMYK: (54,55,0,32) C54M55Y0K32 (54%,55%,0%,32%) (0.54/0.55/0.00/0.32)
50 | 4F | AE | |
---|---|---|---|
RGB | 80 | 79 | 174 |
HSL | 241° | 37.55% | 49.61% |
HSB/HSV | 241° | 54.60% | 68.24% |
CMYK | 54.02% | 54.60% | 0.00% |
31.76% |
HEX | 50 | 4F | AE |
Decimal | 80 | 79 | 174 |
Binary | 1010000 | 1001111 | 10101110 |
Octal | 120 | 117 | 256 |
Examples of css and html codes for elements with #504FAE color. Also use rgb(80,79,174) instead hex code.
.myTextColor { color: #504FAE; }
<p style="color:#504FAE">This sample text font color is #504FAE.</p>
This text font color is #504FAE.
.myBgColor { background-color: #504FAE; }
<div style="background-color:#504FAE">Inner text</div>
This div background color is #504FAE.
.myBorderColor { border: 1px solid #504FAE; }
<div style="border:3px solid #504FAE">Div</div>
This div border color is #504FAE.
.myOpacity80 { color: #504FAE; opacity: 0.8; }
<p style="color:#504FAE;opacity:0.8;">80%</p>
Text with #504FAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504FAE;}
<p style="text-shadow: 3px 3px 1px #504FAE">Text here.</p>
This text has shadow with #504FAE color.
.textShadow {text-shadow: 3px 3px 1px #504FAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504FAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #504FAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504FAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504FAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #504FAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504FAE; -webkit-box-shadow: 1px 1px 3px 2px #504FAE; box-shadow: 1px 1px 3px 2px #504FAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504FAE; -webkit-box-shadow: 1px 1px 3px 2px #504FAE; box-shadow:1px 1px 3px 2px #504FAE;">
Div content here</div>
This text has color #504FAE on black background.
This text has color #504FAE on white background.
This text has black color on #504FAE background.
This text has white color on #504FAE background.