HEX: #7E50AA
RGB: (126,80,170)
#7E50AA contains mainly red and blue colors. Web safe color of #7E50AA is #666699 (or #669).
#7E50AA color RGB value is (126,80,170).
RGB: (126,80,170) (49%,31%,67%)
R 126 of 255 = 49%
G 80 of 255 = 31%
B 170 of 255 = 67%
R + G + B ~ 49%. #7E50AA is middle color (not dark and not light).
R + G + B =
126 + 80 + 170 = 376 (100%)
R 126 of 376 ~ 33.51%
G 80 of 376 ~ 21.28%
B 170 of 376 ~ 45.21%
#7E50AA color CMYK value is (26,53,0,33).
CMYK: (26,53,0,33) C26M53Y0K33 (26%,53%,0%,33%) (0.26/0.53/0.00/0.33)
7E | 50 | AA | |
---|---|---|---|
RGB | 126 | 80 | 170 |
HSL | 271° | 36.00% | 49.02% |
HSB/HSV | 271° | 52.94% | 66.67% |
CMYK | 25.88% | 52.94% | 0.00% |
33.33% |
HEX | 7E | 50 | AA |
Decimal | 126 | 80 | 170 |
Binary | 1111110 | 1010000 | 10101010 |
Octal | 176 | 120 | 252 |
Examples of css and html codes for elements with #7E50AA color. Also use rgb(126,80,170) instead hex code.
.myTextColor { color: #7E50AA; }
<p style="color:#7E50AA">This sample text font color is #7E50AA.</p>
This text font color is #7E50AA.
.myBgColor { background-color: #7E50AA; }
<div style="background-color:#7E50AA">Inner text</div>
This div background color is #7E50AA.
.myBorderColor { border: 1px solid #7E50AA; }
<div style="border:3px solid #7E50AA">Div</div>
This div border color is #7E50AA.
.myOpacity80 { color: #7E50AA; opacity: 0.8; }
<p style="color:#7E50AA;opacity:0.8;">80%</p>
Text with #7E50AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E50AA;}
<p style="text-shadow: 3px 3px 1px #7E50AA">Text here.</p>
This text has shadow with #7E50AA color.
.textShadow {text-shadow: 3px 3px 1px #7E50AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E50AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E50AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E50AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E50AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E50AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E50AA; -webkit-box-shadow: 1px 1px 3px 2px #7E50AA; box-shadow: 1px 1px 3px 2px #7E50AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E50AA; -webkit-box-shadow: 1px 1px 3px 2px #7E50AA; box-shadow:1px 1px 3px 2px #7E50AA;">
Div content here</div>
This text has color #7E50AA on black background.
This text has color #7E50AA on white background.
This text has black color on #7E50AA background.
This text has white color on #7E50AA background.