HEX: #7E32A5
RGB: (126,50,165)
#7E32A5 contains mainly red and blue colors. Web safe color of #7E32A5 is #663399 (or #639).
#7E32A5 color RGB value is (126,50,165).
RGB: (126,50,165) (49%,20%,65%)
R 126 of 255 = 49%
G 50 of 255 = 20%
B 165 of 255 = 65%
R + G + B ~ 45%. #7E32A5 is middle color (not dark and not light).
R + G + B =
126 + 50 + 165 = 341 (100%)
R 126 of 341 ~ 36.95%
G 50 of 341 ~ 14.66%
B 165 of 341 ~ 48.39%
#7E32A5 color CMYK value is (24,70,0,35).
CMYK: (24,70,0,35) C24M70Y0K35 (24%,70%,0%,35%) (0.24/0.70/0.00/0.35)
7E | 32 | A5 | |
---|---|---|---|
RGB | 126 | 50 | 165 |
HSL | 280° | 53.49% | 42.16% |
HSB/HSV | 280° | 69.70% | 64.71% |
CMYK | 23.64% | 69.70% | 0.00% |
35.29% |
HEX | 7E | 32 | A5 |
Decimal | 126 | 50 | 165 |
Binary | 1111110 | 110010 | 10100101 |
Octal | 176 | 62 | 245 |
Examples of css and html codes for elements with #7E32A5 color. Also use rgb(126,50,165) instead hex code.
.myTextColor { color: #7E32A5; }
<p style="color:#7E32A5">This sample text font color is #7E32A5.</p>
This text font color is #7E32A5.
.myBgColor { background-color: #7E32A5; }
<div style="background-color:#7E32A5">Inner text</div>
This div background color is #7E32A5.
.myBorderColor { border: 1px solid #7E32A5; }
<div style="border:3px solid #7E32A5">Div</div>
This div border color is #7E32A5.
.myOpacity80 { color: #7E32A5; opacity: 0.8; }
<p style="color:#7E32A5;opacity:0.8;">80%</p>
Text with #7E32A5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E32A5;}
<p style="text-shadow: 3px 3px 1px #7E32A5">Text here.</p>
This text has shadow with #7E32A5 color.
.textShadow {text-shadow: 3px 3px 1px #7E32A5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E32A5, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E32A5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E32A5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E32A5, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E32A5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E32A5; -webkit-box-shadow: 1px 1px 3px 2px #7E32A5; box-shadow: 1px 1px 3px 2px #7E32A5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E32A5; -webkit-box-shadow: 1px 1px 3px 2px #7E32A5; box-shadow:1px 1px 3px 2px #7E32A5;">
Div content here</div>
This text has color #7E32A5 on black background.
This text has color #7E32A5 on white background.
This text has black color on #7E32A5 background.
This text has white color on #7E32A5 background.