HEX: #50121C
RGB: (80,18,28)
#50121C contains mainly red and blue colors. Web safe color of #50121C is #660033 (or #603).
#50121C color RGB value is (80,18,28).
RGB: (80,18,28) (31%,7%,11%)
R 80 of 255 = 31%
G 18 of 255 = 7%
B 28 of 255 = 11%
R + G + B ~ 16%. #50121C is dark color.
R + G + B =
80 + 18 + 28 = 126 (100%)
R 80 of 126 ~ 63.49%
G 18 of 126 ~ 14.29%
B 28 of 126 ~ 22.22%
#50121C color CMYK value is (0,78,65,69).
CMYK: (0,78,65,69) C0M78Y65K69 (0%,78%,65%,69%) (0.00/0.78/0.65/0.69)
50 | 12 | 1C | |
---|---|---|---|
RGB | 80 | 18 | 28 |
HSL | 350° | 63.27% | 19.22% |
HSB/HSV | 350° | 77.50% | 31.37% |
CMYK | 0.00% | 77.50% | 65.00% |
68.63% |
HEX | 50 | 12 | 1C |
Decimal | 80 | 18 | 28 |
Binary | 1010000 | 10010 | 11100 |
Octal | 120 | 22 | 34 |
Examples of css and html codes for elements with #50121C color. Also use rgb(80,18,28) instead hex code.
.myTextColor { color: #50121C; }
<p style="color:#50121C">This sample text font color is #50121C.</p>
This text font color is #50121C.
.myBgColor { background-color: #50121C; }
<div style="background-color:#50121C">Inner text</div>
This div background color is #50121C.
.myBorderColor { border: 1px solid #50121C; }
<div style="border:3px solid #50121C">Div</div>
This div border color is #50121C.
.myOpacity80 { color: #50121C; opacity: 0.8; }
<p style="color:#50121C;opacity:0.8;">80%</p>
Text with #50121C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50121C;}
<p style="text-shadow: 3px 3px 1px #50121C">Text here.</p>
This text has shadow with #50121C color.
.textShadow {text-shadow: 3px 3px 1px #50121C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50121C, 5px 5px 20px red">Text here.</p>
This text has shadow with #50121C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50121C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50121C, Direction=45, Strength=4)">Text</p>
This text has shadow with #50121C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50121C; -webkit-box-shadow: 1px 1px 3px 2px #50121C; box-shadow: 1px 1px 3px 2px #50121C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50121C; -webkit-box-shadow: 1px 1px 3px 2px #50121C; box-shadow:1px 1px 3px 2px #50121C;">
Div content here</div>
This text has color #50121C on black background.
This text has color #50121C on white background.
This text has black color on #50121C background.
This text has white color on #50121C background.