HEX: #7A20AE
RGB: (122,32,174)
#7A20AE contains mainly red and blue colors. Web safe color of #7A20AE is #663399 (or #639).
#7A20AE color RGB value is (122,32,174).
RGB: (122,32,174) (48%,13%,68%)
R 122 of 255 = 48%
G 32 of 255 = 13%
B 174 of 255 = 68%
R + G + B ~ 43%. #7A20AE is middle color (not dark and not light).
R + G + B =
122 + 32 + 174 = 328 (100%)
R 122 of 328 ~ 37.2%
G 32 of 328 ~ 9.76%
B 174 of 328 ~ 53.05%
#7A20AE color CMYK value is (30,82,0,32).
CMYK: (30,82,0,32) C30M82Y0K32 (30%,82%,0%,32%) (0.30/0.82/0.00/0.32)
7A | 20 | AE | |
---|---|---|---|
RGB | 122 | 32 | 174 |
HSL | 278° | 68.93% | 40.39% |
HSB/HSV | 278° | 81.61% | 68.24% |
CMYK | 29.89% | 81.61% | 0.00% |
31.76% |
HEX | 7A | 20 | AE |
Decimal | 122 | 32 | 174 |
Binary | 1111010 | 100000 | 10101110 |
Octal | 172 | 40 | 256 |
Examples of css and html codes for elements with #7A20AE color. Also use rgb(122,32,174) instead hex code.
.myTextColor { color: #7A20AE; }
<p style="color:#7A20AE">This sample text font color is #7A20AE.</p>
This text font color is #7A20AE.
.myBgColor { background-color: #7A20AE; }
<div style="background-color:#7A20AE">Inner text</div>
This div background color is #7A20AE.
.myBorderColor { border: 1px solid #7A20AE; }
<div style="border:3px solid #7A20AE">Div</div>
This div border color is #7A20AE.
.myOpacity80 { color: #7A20AE; opacity: 0.8; }
<p style="color:#7A20AE;opacity:0.8;">80%</p>
Text with #7A20AE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A20AE;}
<p style="text-shadow: 3px 3px 1px #7A20AE">Text here.</p>
This text has shadow with #7A20AE color.
.textShadow {text-shadow: 3px 3px 1px #7A20AE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A20AE, 5px 5px 20px red">Text here.</p>
This text has shadow with #7A20AE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A20AE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A20AE, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A20AE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7A20AE; -webkit-box-shadow: 1px 1px 3px 2px #7A20AE; box-shadow: 1px 1px 3px 2px #7A20AE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7A20AE; -webkit-box-shadow: 1px 1px 3px 2px #7A20AE; box-shadow:1px 1px 3px 2px #7A20AE;">
Div content here</div>
This text has color #7A20AE on black background.
This text has color #7A20AE on white background.
This text has black color on #7A20AE background.
This text has white color on #7A20AE background.