HEX: #50082E
RGB: (80,8,46)
#50082E contains mainly red and blue colors. Web safe color of #50082E is #660033 (or #603).
#50082E color RGB value is (80,8,46).
RGB: (80,8,46) (31%,3%,18%)
R 80 of 255 = 31%
G 8 of 255 = 3%
B 46 of 255 = 18%
R + G + B ~ 17%. #50082E is dark color.
R + G + B =
80 + 8 + 46 = 134 (100%)
R 80 of 134 ~ 59.7%
G 8 of 134 ~ 5.97%
B 46 of 134 ~ 34.33%
#50082E color CMYK value is (0,90,43,69).
CMYK: (0,90,43,69) C0M90Y43K69 (0%,90%,43%,69%) (0.00/0.90/0.43/0.69)
50 | 08 | 2E | |
---|---|---|---|
RGB | 80 | 8 | 46 |
HSL | 328° | 81.82% | 17.25% |
HSB/HSV | 328° | 90.00% | 31.37% |
CMYK | 0.00% | 90.00% | 42.50% |
68.63% |
HEX | 50 | 08 | 2E |
Decimal | 80 | 8 | 46 |
Binary | 1010000 | 1000 | 101110 |
Octal | 120 | 10 | 56 |
Examples of css and html codes for elements with #50082E color. Also use rgb(80,8,46) instead hex code.
.myTextColor { color: #50082E; }
<p style="color:#50082E">This sample text font color is #50082E.</p>
This text font color is #50082E.
.myBgColor { background-color: #50082E; }
<div style="background-color:#50082E">Inner text</div>
This div background color is #50082E.
.myBorderColor { border: 1px solid #50082E; }
<div style="border:3px solid #50082E">Div</div>
This div border color is #50082E.
.myOpacity80 { color: #50082E; opacity: 0.8; }
<p style="color:#50082E;opacity:0.8;">80%</p>
Text with #50082E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50082E;}
<p style="text-shadow: 3px 3px 1px #50082E">Text here.</p>
This text has shadow with #50082E color.
.textShadow {text-shadow: 3px 3px 1px #50082E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50082E, 5px 5px 20px red">Text here.</p>
This text has shadow with #50082E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50082E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50082E, Direction=45, Strength=4)">Text</p>
This text has shadow with #50082E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50082E; -webkit-box-shadow: 1px 1px 3px 2px #50082E; box-shadow: 1px 1px 3px 2px #50082E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50082E; -webkit-box-shadow: 1px 1px 3px 2px #50082E; box-shadow:1px 1px 3px 2px #50082E;">
Div content here</div>
This text has color #50082E on black background.
This text has color #50082E on white background.
This text has black color on #50082E background.
This text has white color on #50082E background.