HEX: #504DCE
RGB: (80,77,206)
#504DCE contains mainly blue color. Web safe color of #504DCE is #6633CC (or #63C).
#504DCE color RGB value is (80,77,206).
RGB: (80,77,206) (31%,30%,81%)
R 80 of 255 = 31%
G 77 of 255 = 30%
B 206 of 255 = 81%
R + G + B ~ 47%. #504DCE is middle color (not dark and not light).
R + G + B =
80 + 77 + 206 = 363 (100%)
R 80 of 363 ~ 22.04%
G 77 of 363 ~ 21.21%
B 206 of 363 ~ 56.75%
#504DCE color CMYK value is (61,63,0,19).
CMYK: (61,63,0,19) C61M63Y0K19 (61%,63%,0%,19%) (0.61/0.63/0.00/0.19)
50 | 4D | CE | |
---|---|---|---|
RGB | 80 | 77 | 206 |
HSL | 241° | 56.83% | 55.49% |
HSB/HSV | 241° | 62.62% | 80.78% |
CMYK | 61.17% | 62.62% | 0.00% |
19.22% |
HEX | 50 | 4D | CE |
Decimal | 80 | 77 | 206 |
Binary | 1010000 | 1001101 | 11001110 |
Octal | 120 | 115 | 316 |
Examples of css and html codes for elements with #504DCE color. Also use rgb(80,77,206) instead hex code.
.myTextColor { color: #504DCE; }
<p style="color:#504DCE">This sample text font color is #504DCE.</p>
This text font color is #504DCE.
.myBgColor { background-color: #504DCE; }
<div style="background-color:#504DCE">Inner text</div>
This div background color is #504DCE.
.myBorderColor { border: 1px solid #504DCE; }
<div style="border:3px solid #504DCE">Div</div>
This div border color is #504DCE.
.myOpacity80 { color: #504DCE; opacity: 0.8; }
<p style="color:#504DCE;opacity:0.8;">80%</p>
Text with #504DCE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504DCE;}
<p style="text-shadow: 3px 3px 1px #504DCE">Text here.</p>
This text has shadow with #504DCE color.
.textShadow {text-shadow: 3px 3px 1px #504DCE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504DCE, 5px 5px 20px red">Text here.</p>
This text has shadow with #504DCE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504DCE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504DCE, Direction=45, Strength=4)">Text</p>
This text has shadow with #504DCE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504DCE; -webkit-box-shadow: 1px 1px 3px 2px #504DCE; box-shadow: 1px 1px 3px 2px #504DCE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504DCE; -webkit-box-shadow: 1px 1px 3px 2px #504DCE; box-shadow:1px 1px 3px 2px #504DCE;">
Div content here</div>
This text has color #504DCE on black background.
This text has color #504DCE on white background.
This text has black color on #504DCE background.
This text has white color on #504DCE background.