HEX: #5050DB
RGB: (80,80,219)
#5050DB contains mainly blue color. Web safe color of #5050DB is #6666CC (or #66C).
#5050DB color RGB value is (80,80,219).
RGB: (80,80,219) (31%,31%,86%)
R 80 of 255 = 31%
G 80 of 255 = 31%
B 219 of 255 = 86%
R + G + B ~ 49%. #5050DB is middle color (not dark and not light).
R + G + B =
80 + 80 + 219 = 379 (100%)
R 80 of 379 ~ 21.11%
G 80 of 379 ~ 21.11%
B 219 of 379 ~ 57.78%
#5050DB color CMYK value is (63,63,0,14).
CMYK: (63,63,0,14) C63M63Y0K14 (63%,63%,0%,14%) (0.63/0.63/0.00/0.14)
50 | 50 | DB | |
---|---|---|---|
RGB | 80 | 80 | 219 |
HSL | 240° | 65.88% | 58.63% |
HSB/HSV | 240° | 63.47% | 85.88% |
CMYK | 63.47% | 63.47% | 0.00% |
14.12% |
HEX | 50 | 50 | DB |
Decimal | 80 | 80 | 219 |
Binary | 1010000 | 1010000 | 11011011 |
Octal | 120 | 120 | 333 |
Examples of css and html codes for elements with #5050DB color. Also use rgb(80,80,219) instead hex code.
.myTextColor { color: #5050DB; }
<p style="color:#5050DB">This sample text font color is #5050DB.</p>
This text font color is #5050DB.
.myBgColor { background-color: #5050DB; }
<div style="background-color:#5050DB">Inner text</div>
This div background color is #5050DB.
.myBorderColor { border: 1px solid #5050DB; }
<div style="border:3px solid #5050DB">Div</div>
This div border color is #5050DB.
.myOpacity80 { color: #5050DB; opacity: 0.8; }
<p style="color:#5050DB;opacity:0.8;">80%</p>
Text with #5050DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5050DB;}
<p style="text-shadow: 3px 3px 1px #5050DB">Text here.</p>
This text has shadow with #5050DB color.
.textShadow {text-shadow: 3px 3px 1px #5050DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5050DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #5050DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5050DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5050DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #5050DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5050DB; -webkit-box-shadow: 1px 1px 3px 2px #5050DB; box-shadow: 1px 1px 3px 2px #5050DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5050DB; -webkit-box-shadow: 1px 1px 3px 2px #5050DB; box-shadow:1px 1px 3px 2px #5050DB;">
Div content here</div>
This text has color #5050DB on black background.
This text has color #5050DB on white background.
This text has black color on #5050DB background.
This text has white color on #5050DB background.