HEX: #503C86
RGB: (80,60,134)
#503C86 contains mainly red and blue colors. Web safe color of #503C86 is #663399 (or #639).
#503C86 color RGB value is (80,60,134).
RGB: (80,60,134) (31%,24%,53%)
R 80 of 255 = 31%
G 60 of 255 = 24%
B 134 of 255 = 53%
R + G + B ~ 36%. #503C86 is quite dark color.
R + G + B =
80 + 60 + 134 = 274 (100%)
R 80 of 274 ~ 29.2%
G 60 of 274 ~ 21.9%
B 134 of 274 ~ 48.91%
#503C86 color CMYK value is (40,55,0,47).
CMYK: (40,55,0,47) C40M55Y0K47 (40%,55%,0%,47%) (0.40/0.55/0.00/0.47)
50 | 3C | 86 | |
---|---|---|---|
RGB | 80 | 60 | 134 |
HSL | 256° | 38.14% | 38.04% |
HSB/HSV | 256° | 55.22% | 52.55% |
CMYK | 40.30% | 55.22% | 0.00% |
47.45% |
HEX | 50 | 3C | 86 |
Decimal | 80 | 60 | 134 |
Binary | 1010000 | 111100 | 10000110 |
Octal | 120 | 74 | 206 |
Examples of css and html codes for elements with #503C86 color. Also use rgb(80,60,134) instead hex code.
.myTextColor { color: #503C86; }
<p style="color:#503C86">This sample text font color is #503C86.</p>
This text font color is #503C86.
.myBgColor { background-color: #503C86; }
<div style="background-color:#503C86">Inner text</div>
This div background color is #503C86.
.myBorderColor { border: 1px solid #503C86; }
<div style="border:3px solid #503C86">Div</div>
This div border color is #503C86.
.myOpacity80 { color: #503C86; opacity: 0.8; }
<p style="color:#503C86;opacity:0.8;">80%</p>
Text with #503C86 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #503C86;}
<p style="text-shadow: 3px 3px 1px #503C86">Text here.</p>
This text has shadow with #503C86 color.
.textShadow {text-shadow: 3px 3px 1px #503C86, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #503C86, 5px 5px 20px red">Text here.</p>
This text has shadow with #503C86 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#503C86, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#503C86, Direction=45, Strength=4)">Text</p>
This text has shadow with #503C86 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #503C86; -webkit-box-shadow: 1px 1px 3px 2px #503C86; box-shadow: 1px 1px 3px 2px #503C86; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #503C86; -webkit-box-shadow: 1px 1px 3px 2px #503C86; box-shadow:1px 1px 3px 2px #503C86;">
Div content here</div>
This text has color #503C86 on black background.
This text has color #503C86 on white background.
This text has black color on #503C86 background.
This text has white color on #503C86 background.