HEX: #500DB8
RGB: (80,13,184)
#500DB8 contains mainly blue color. Web safe color of #500DB8 is #6600CC (or #60C).
#500DB8 color RGB value is (80,13,184).
RGB: (80,13,184) (31%,5%,72%)
R 80 of 255 = 31%
G 13 of 255 = 5%
B 184 of 255 = 72%
R + G + B ~ 36%. #500DB8 is quite dark color.
R + G + B =
80 + 13 + 184 = 277 (100%)
R 80 of 277 ~ 28.88%
G 13 of 277 ~ 4.69%
B 184 of 277 ~ 66.43%
#500DB8 color CMYK value is (57,93,0,28).
CMYK: (57,93,0,28) C57M93Y0K28 (57%,93%,0%,28%) (0.57/0.93/0.00/0.28)
50 | 0D | B8 | |
---|---|---|---|
RGB | 80 | 13 | 184 |
HSL | 264° | 86.80% | 38.63% |
HSB/HSV | 264° | 92.93% | 72.16% |
CMYK | 56.52% | 92.93% | 0.00% |
27.84% |
HEX | 50 | 0D | B8 |
Decimal | 80 | 13 | 184 |
Binary | 1010000 | 1101 | 10111000 |
Octal | 120 | 15 | 270 |
Examples of css and html codes for elements with #500DB8 color. Also use rgb(80,13,184) instead hex code.
.myTextColor { color: #500DB8; }
<p style="color:#500DB8">This sample text font color is #500DB8.</p>
This text font color is #500DB8.
.myBgColor { background-color: #500DB8; }
<div style="background-color:#500DB8">Inner text</div>
This div background color is #500DB8.
.myBorderColor { border: 1px solid #500DB8; }
<div style="border:3px solid #500DB8">Div</div>
This div border color is #500DB8.
.myOpacity80 { color: #500DB8; opacity: 0.8; }
<p style="color:#500DB8;opacity:0.8;">80%</p>
Text with #500DB8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #500DB8;}
<p style="text-shadow: 3px 3px 1px #500DB8">Text here.</p>
This text has shadow with #500DB8 color.
.textShadow {text-shadow: 3px 3px 1px #500DB8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #500DB8, 5px 5px 20px red">Text here.</p>
This text has shadow with #500DB8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#500DB8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#500DB8, Direction=45, Strength=4)">Text</p>
This text has shadow with #500DB8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #500DB8; -webkit-box-shadow: 1px 1px 3px 2px #500DB8; box-shadow: 1px 1px 3px 2px #500DB8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #500DB8; -webkit-box-shadow: 1px 1px 3px 2px #500DB8; box-shadow:1px 1px 3px 2px #500DB8;">
Div content here</div>
This text has color #500DB8 on black background.
This text has color #500DB8 on white background.
This text has black color on #500DB8 background.
This text has white color on #500DB8 background.