HEX: #500020
RGB: (80,0,32)
#500020 contains only red and blue colors. Web safe color of #500020 is #660033 (or #603).
#500020 color RGB value is (80,0,32).
RGB: (80,0,32) (31%,0%,13%)
R 80 of 255 = 31%
G 0 of 255 = 0%
B 32 of 255 = 13%
R + G + B ~ 15%. #500020 is dark color.
R + G + B =
80 + 0 + 32 = 112 (100%)
R 80 of 112 ~ 71.43%
G 0 of 112 ~ 0%
B 32 of 112 ~ 28.57%
#500020 color CMYK value is (0,100,60,69).
CMYK: (0,100,60,69) C0M100Y60K69 (0%,100%,60%,69%) (0.00/1.00/0.60/0.69)
50 | 00 | 20 | |
---|---|---|---|
RGB | 80 | 0 | 32 |
HSL | 336° | 100.00% | 15.69% |
HSB/HSV | 336° | 100.00% | 31.37% |
CMYK | 0.00% | 100.00% | 60.00% |
68.63% |
HEX | 50 | 00 | 20 |
Decimal | 80 | 0 | 32 |
Binary | 1010000 | 0 | 100000 |
Octal | 120 | 0 | 40 |
Examples of css and html codes for elements with #500020 color. Also use rgb(80,0,32) instead hex code.
.myTextColor { color: #500020; }
<p style="color:#500020">This sample text font color is #500020.</p>
This text font color is #500020.
.myBgColor { background-color: #500020; }
<div style="background-color:#500020">Inner text</div>
This div background color is #500020.
.myBorderColor { border: 1px solid #500020; }
<div style="border:3px solid #500020">Div</div>
This div border color is #500020.
.myOpacity80 { color: #500020; opacity: 0.8; }
<p style="color:#500020;opacity:0.8;">80%</p>
Text with #500020 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #500020;}
<p style="text-shadow: 3px 3px 1px #500020">Text here.</p>
This text has shadow with #500020 color.
.textShadow {text-shadow: 3px 3px 1px #500020, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #500020, 5px 5px 20px red">Text here.</p>
This text has shadow with #500020 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#500020, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#500020, Direction=45, Strength=4)">Text</p>
This text has shadow with #500020 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #500020; -webkit-box-shadow: 1px 1px 3px 2px #500020; box-shadow: 1px 1px 3px 2px #500020; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #500020; -webkit-box-shadow: 1px 1px 3px 2px #500020; box-shadow:1px 1px 3px 2px #500020;">
Div content here</div>
This text has color #500020 on black background.
This text has color #500020 on white background.
This text has black color on #500020 background.
This text has white color on #500020 background.