HEX: #501A30
RGB: (80,26,48)
#501A30 contains red, green and blue colors in about the same proportion. Web safe color of #501A30 is #660033 (or #603).
#501A30 color RGB value is (80,26,48).
RGB: (80,26,48) (31%,10%,19%)
R 80 of 255 = 31%
G 26 of 255 = 10%
B 48 of 255 = 19%
R + G + B ~ 20%. #501A30 is dark color.
R + G + B =
80 + 26 + 48 = 154 (100%)
R 80 of 154 ~ 51.95%
G 26 of 154 ~ 16.88%
B 48 of 154 ~ 31.17%
#501A30 color CMYK value is (0,68,40,69).
CMYK: (0,68,40,69) C0M68Y40K69 (0%,68%,40%,69%) (0.00/0.68/0.40/0.69)
50 | 1A | 30 | |
---|---|---|---|
RGB | 80 | 26 | 48 |
HSL | 336° | 50.94% | 20.78% |
HSB/HSV | 336° | 67.50% | 31.37% |
CMYK | 0.00% | 67.50% | 40.00% |
68.63% |
HEX | 50 | 1A | 30 |
Decimal | 80 | 26 | 48 |
Binary | 1010000 | 11010 | 110000 |
Octal | 120 | 32 | 60 |
Examples of css and html codes for elements with #501A30 color. Also use rgb(80,26,48) instead hex code.
.myTextColor { color: #501A30; }
<p style="color:#501A30">This sample text font color is #501A30.</p>
This text font color is #501A30.
.myBgColor { background-color: #501A30; }
<div style="background-color:#501A30">Inner text</div>
This div background color is #501A30.
.myBorderColor { border: 1px solid #501A30; }
<div style="border:3px solid #501A30">Div</div>
This div border color is #501A30.
.myOpacity80 { color: #501A30; opacity: 0.8; }
<p style="color:#501A30;opacity:0.8;">80%</p>
Text with #501A30 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501A30;}
<p style="text-shadow: 3px 3px 1px #501A30">Text here.</p>
This text has shadow with #501A30 color.
.textShadow {text-shadow: 3px 3px 1px #501A30, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501A30, 5px 5px 20px red">Text here.</p>
This text has shadow with #501A30 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501A30, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501A30, Direction=45, Strength=4)">Text</p>
This text has shadow with #501A30 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501A30; -webkit-box-shadow: 1px 1px 3px 2px #501A30; box-shadow: 1px 1px 3px 2px #501A30; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501A30; -webkit-box-shadow: 1px 1px 3px 2px #501A30; box-shadow:1px 1px 3px 2px #501A30;">
Div content here</div>
This text has color #501A30 on black background.
This text has color #501A30 on white background.
This text has black color on #501A30 background.
This text has white color on #501A30 background.