HEX: #501B3A
RGB: (80,27,58)
#501B3A contains red, green and blue colors in about the same proportion. Web safe color of #501B3A is #663333 (or #633).
#501B3A color RGB value is (80,27,58).
RGB: (80,27,58) (31%,11%,23%)
R 80 of 255 = 31%
G 27 of 255 = 11%
B 58 of 255 = 23%
R + G + B ~ 22%. #501B3A is dark color.
R + G + B =
80 + 27 + 58 = 165 (100%)
R 80 of 165 ~ 48.48%
G 27 of 165 ~ 16.36%
B 58 of 165 ~ 35.15%
#501B3A color CMYK value is (0,66,28,69).
CMYK: (0,66,28,69) C0M66Y28K69 (0%,66%,28%,69%) (0.00/0.66/0.28/0.69)
50 | 1B | 3A | |
---|---|---|---|
RGB | 80 | 27 | 58 |
HSL | 325° | 49.53% | 20.98% |
HSB/HSV | 325° | 66.25% | 31.37% |
CMYK | 0.00% | 66.25% | 27.50% |
68.63% |
HEX | 50 | 1B | 3A |
Decimal | 80 | 27 | 58 |
Binary | 1010000 | 11011 | 111010 |
Octal | 120 | 33 | 72 |
Examples of css and html codes for elements with #501B3A color. Also use rgb(80,27,58) instead hex code.
.myTextColor { color: #501B3A; }
<p style="color:#501B3A">This sample text font color is #501B3A.</p>
This text font color is #501B3A.
.myBgColor { background-color: #501B3A; }
<div style="background-color:#501B3A">Inner text</div>
This div background color is #501B3A.
.myBorderColor { border: 1px solid #501B3A; }
<div style="border:3px solid #501B3A">Div</div>
This div border color is #501B3A.
.myOpacity80 { color: #501B3A; opacity: 0.8; }
<p style="color:#501B3A;opacity:0.8;">80%</p>
Text with #501B3A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501B3A;}
<p style="text-shadow: 3px 3px 1px #501B3A">Text here.</p>
This text has shadow with #501B3A color.
.textShadow {text-shadow: 3px 3px 1px #501B3A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501B3A, 5px 5px 20px red">Text here.</p>
This text has shadow with #501B3A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501B3A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501B3A, Direction=45, Strength=4)">Text</p>
This text has shadow with #501B3A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501B3A; -webkit-box-shadow: 1px 1px 3px 2px #501B3A; box-shadow: 1px 1px 3px 2px #501B3A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501B3A; -webkit-box-shadow: 1px 1px 3px 2px #501B3A; box-shadow:1px 1px 3px 2px #501B3A;">
Div content here</div>
This text has color #501B3A on black background.
This text has color #501B3A on white background.
This text has black color on #501B3A background.
This text has white color on #501B3A background.