HEX: #501276
RGB: (80,18,118)
#501276 contains mainly red and blue colors. Web safe color of #501276 is #660066 (or #606).
#501276 color RGB value is (80,18,118).
RGB: (80,18,118) (31%,7%,46%)
R 80 of 255 = 31%
G 18 of 255 = 7%
B 118 of 255 = 46%
R + G + B ~ 28%. #501276 is quite dark color.
R + G + B =
80 + 18 + 118 = 216 (100%)
R 80 of 216 ~ 37.04%
G 18 of 216 ~ 8.33%
B 118 of 216 ~ 54.63%
#501276 color CMYK value is (32,85,0,54).
CMYK: (32,85,0,54) C32M85Y0K54 (32%,85%,0%,54%) (0.32/0.85/0.00/0.54)
50 | 12 | 76 | |
---|---|---|---|
RGB | 80 | 18 | 118 |
HSL | 277° | 73.53% | 26.67% |
HSB/HSV | 277° | 84.75% | 46.27% |
CMYK | 32.20% | 84.75% | 0.00% |
53.73% |
HEX | 50 | 12 | 76 |
Decimal | 80 | 18 | 118 |
Binary | 1010000 | 10010 | 1110110 |
Octal | 120 | 22 | 166 |
Examples of css and html codes for elements with #501276 color. Also use rgb(80,18,118) instead hex code.
.myTextColor { color: #501276; }
<p style="color:#501276">This sample text font color is #501276.</p>
This text font color is #501276.
.myBgColor { background-color: #501276; }
<div style="background-color:#501276">Inner text</div>
This div background color is #501276.
.myBorderColor { border: 1px solid #501276; }
<div style="border:3px solid #501276">Div</div>
This div border color is #501276.
.myOpacity80 { color: #501276; opacity: 0.8; }
<p style="color:#501276;opacity:0.8;">80%</p>
Text with #501276 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501276;}
<p style="text-shadow: 3px 3px 1px #501276">Text here.</p>
This text has shadow with #501276 color.
.textShadow {text-shadow: 3px 3px 1px #501276, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501276, 5px 5px 20px red">Text here.</p>
This text has shadow with #501276 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501276, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501276, Direction=45, Strength=4)">Text</p>
This text has shadow with #501276 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501276; -webkit-box-shadow: 1px 1px 3px 2px #501276; box-shadow: 1px 1px 3px 2px #501276; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501276; -webkit-box-shadow: 1px 1px 3px 2px #501276; box-shadow:1px 1px 3px 2px #501276;">
Div content here</div>
This text has color #501276 on black background.
This text has color #501276 on white background.
This text has black color on #501276 background.
This text has white color on #501276 background.