HEX: #7A20AB
RGB: (122,32,171)
#7A20AB contains mainly red and blue colors. Web safe color of #7A20AB is #663399 (or #639).
#7A20AB color RGB value is (122,32,171).
RGB: (122,32,171)
(48%, 13%, 67%)
R 122 of 255 = 48%
G 32 of 255 = 13%
B 171 of 255 = 67%
R + G + B ~ 43%. #7A20AB is middle color (not dark and not light).
R + G + B = 122 + 32 + 171 = 325 (100%)
R 122 of 325 ~ 37.54%
G 32 of 325 ~ 9.85%
B 171 of 325 ~ 52.62'%
#7A20AB color CMYK value is (29,81,0,33).
CMYK: (29,81,0,33)
C29M81Y0K33 (29%, 81%, 0%, 33%)
(0.29 / 0.81 / 0.00 / 0.33)
Color #7A20AB in popluar color models
7A | 20 | AB | |
---|---|---|---|
RGB | 122 | 32 | 171 |
HSL | 279° | 68.47% | 39.80% |
HSB/HSV | 279° | 81.29% | 67.06% |
CMYK | 28.65% | 81.29% | 0.00% |
32.94% |
Color #7A20AB in popluar number systems.
HEX | 7A | 20 | AB |
Decimal | 122 | 32 | 171 |
Binary | 1111010 | 100000 | 10101011 |
Octal | 172 | 40 | 253 |
Shades of #7A20AB
Tints of #7A20AB
Examples of css and html codes for elements with #7A20AB color. Also use rgb(122,32,171) instead hex code.
.myTextColor { color: #7A20AB; }
<p style="color:#7A20AB">This sample text font color is #7A20AB.</p>
This text font color is #7A20AB.
.myBgColor { background-color: #7A20AB; }
<div style="background-color:#7A20AB">Inner text</div>
This div background color is #7A20AB.
.myBorderColor { border: 1px solid #7A20AB; }
<div style="border:3px solid #7A20AB">Div</div>
This div border color is #7A20AB.
.myOpacity80 { color: #7A20AB; opacity: 0.8; }
<p style="color:#7A20AB;opacity:0.8;">80%</p>
Text with #7A20AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A20AB;}
<p style="text-shadow: 3px 3px 1px #7A20AB">Text here.</p>
This text has shadow with #7A20AB color.
.textShadow {text-shadow: 3px 3px 1px #7A20AB', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A20AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #7A20AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A20AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A20AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A20AB and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #7A20AB;
-webkit-box-shadow: 1px 1px 3px 2px #7A20AB;
box-shadow: 1px 1px 3px 2px #7A20AB;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #7A20AB; -webkit-box-shadow: 1px 1px 3px 2px #7A20AB; box-shadow:1px 1px 3px 2px #7A20AB;">
Div content here
</div>
This text has color #7A20AB on black background.
This text has color #7A20AB on white background.
This text has black color on #7A20AB background.
This text has white color on #7A20AB background.
Complementary color for #hex is #85DF54.