HEX: #503F7F
RGB: (80,63,127)
#503F7F contains mainly red and blue colors. Web safe color of #503F7F is #663366 (or #636).
#503F7F color RGB value is (80,63,127).
RGB: (80,63,127) (31%,25%,50%)
R 80 of 255 = 31%
G 63 of 255 = 25%
B 127 of 255 = 50%
R + G + B ~ 35%. #503F7F is quite dark color.
R + G + B =
80 + 63 + 127 = 270 (100%)
R 80 of 270 ~ 29.63%
G 63 of 270 ~ 23.33%
B 127 of 270 ~ 47.04%
#503F7F color CMYK value is (37,50,0,50).
CMYK: (37,50,0,50) C37M50Y0K50 (37%,50%,0%,50%) (0.37/0.50/0.00/0.50)
50 | 3F | 7F | |
---|---|---|---|
RGB | 80 | 63 | 127 |
HSL | 256° | 33.68% | 37.25% |
HSB/HSV | 256° | 50.39% | 49.80% |
CMYK | 37.01% | 50.39% | 0.00% |
50.20% |
HEX | 50 | 3F | 7F |
Decimal | 80 | 63 | 127 |
Binary | 1010000 | 111111 | 1111111 |
Octal | 120 | 77 | 177 |
Examples of css and html codes for elements with #503F7F color. Also use rgb(80,63,127) instead hex code.
.myTextColor { color: #503F7F; }
<p style="color:#503F7F">This sample text font color is #503F7F.</p>
This text font color is #503F7F.
.myBgColor { background-color: #503F7F; }
<div style="background-color:#503F7F">Inner text</div>
This div background color is #503F7F.
.myBorderColor { border: 1px solid #503F7F; }
<div style="border:3px solid #503F7F">Div</div>
This div border color is #503F7F.
.myOpacity80 { color: #503F7F; opacity: 0.8; }
<p style="color:#503F7F;opacity:0.8;">80%</p>
Text with #503F7F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #503F7F;}
<p style="text-shadow: 3px 3px 1px #503F7F">Text here.</p>
This text has shadow with #503F7F color.
.textShadow {text-shadow: 3px 3px 1px #503F7F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #503F7F, 5px 5px 20px red">Text here.</p>
This text has shadow with #503F7F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#503F7F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#503F7F, Direction=45, Strength=4)">Text</p>
This text has shadow with #503F7F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #503F7F; -webkit-box-shadow: 1px 1px 3px 2px #503F7F; box-shadow: 1px 1px 3px 2px #503F7F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #503F7F; -webkit-box-shadow: 1px 1px 3px 2px #503F7F; box-shadow:1px 1px 3px 2px #503F7F;">
Div content here</div>
This text has color #503F7F on black background.
This text has color #503F7F on white background.
This text has black color on #503F7F background.
This text has white color on #503F7F background.