HEX: #7E4EAD
RGB: (126,78,173)
#7E4EAD contains mainly red and blue colors. Web safe color of #7E4EAD is #666699 (or #669).
#7E4EAD color RGB value is (126,78,173).
RGB: (126,78,173)
(49%, 31%, 68%)
R 126 of 255 = 49%
G 78 of 255 = 31%
B 173 of 255 = 68%
R + G + B ~ 49%. #7E4EAD is middle color (not dark and not light).
R + G + B = 126 + 78 + 173 = 377 (100%)
R 126 of 377 ~ 33.42%
G 78 of 377 ~ 20.69%
B 173 of 377 ~ 45.89'%
#7E4EAD color CMYK value is (27,55,0,32).
CMYK: (27,55,0,32)
C27M55Y0K32 (27%, 55%, 0%, 32%)
(0.27 / 0.55 / 0.00 / 0.32)
Color #7E4EAD in popluar color models
7E | 4E | AD | |
---|---|---|---|
RGB | 126 | 78 | 173 |
HSL | 270° | 37.85% | 49.22% |
HSB/HSV | 270° | 54.91% | 67.84% |
CMYK | 27.17% | 54.91% | 0.00% |
32.16% |
Color #7E4EAD in popluar number systems.
HEX | 7E | 4E | AD |
Decimal | 126 | 78 | 173 |
Binary | 1111110 | 1001110 | 10101101 |
Octal | 176 | 116 | 255 |
Shades of #7E4EAD
Tints of #7E4EAD
Examples of css and html codes for elements with #7E4EAD color. Also use rgb(126,78,173) instead hex code.
.myTextColor { color: #7E4EAD; }
<p style="color:#7E4EAD">This sample text font color is #7E4EAD.</p>
This text font color is #7E4EAD.
.myBgColor { background-color: #7E4EAD; }
<div style="background-color:#7E4EAD">Inner text</div>
This div background color is #7E4EAD.
.myBorderColor { border: 1px solid #7E4EAD; }
<div style="border:3px solid #7E4EAD">Div</div>
This div border color is #7E4EAD.
.myOpacity80 { color: #7E4EAD; opacity: 0.8; }
<p style="color:#7E4EAD;opacity:0.8;">80%</p>
Text with #7E4EAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E4EAD;}
<p style="text-shadow: 3px 3px 1px #7E4EAD">Text here.</p>
This text has shadow with #7E4EAD color.
.textShadow {text-shadow: 3px 3px 1px #7E4EAD', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E4EAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E4EAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E4EAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E4EAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E4EAD and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #7E4EAD;
-webkit-box-shadow: 1px 1px 3px 2px #7E4EAD;
box-shadow: 1px 1px 3px 2px #7E4EAD;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #7E4EAD; -webkit-box-shadow: 1px 1px 3px 2px #7E4EAD; box-shadow:1px 1px 3px 2px #7E4EAD;">
Div content here
</div>
This text has color #7E4EAD on black background.
This text has color #7E4EAD on white background.
This text has black color on #7E4EAD background.
This text has white color on #7E4EAD background.
Complementary color for #hex is #81B152.