HEX: #AE21A1
RGB: (174,33,161)
#AE21A1 contains mainly red and blue colors. Web safe color of #AE21A1 is #993399 (or #939).
#AE21A1 color RGB value is (174,33,161).
RGB: (174,33,161) (68%,13%,63%)
R 174 of 255 = 68%
G 33 of 255 = 13%
B 161 of 255 = 63%
R + G + B ~ 48%. #AE21A1 is middle color (not dark and not light).
R + G + B =
174 + 33 + 161 = 368 (100%)
R 174 of 368 ~ 47.28%
G 33 of 368 ~ 8.97%
B 161 of 368 ~ 43.75%
#AE21A1 color CMYK value is (0,81,7,32).
CMYK: (0,81,7,32) C0M81Y7K32 (0%,81%,7%,32%) (0.00/0.81/0.07/0.32)
AE | 21 | A1 | |
---|---|---|---|
RGB | 174 | 33 | 161 |
HSL | 306° | 68.12% | 40.59% |
HSB/HSV | 306° | 81.03% | 68.24% |
CMYK | 0.00% | 81.03% | 7.47% |
31.76% |
HEX | AE | 21 | A1 |
Decimal | 174 | 33 | 161 |
Binary | 10101110 | 100001 | 10100001 |
Octal | 256 | 41 | 241 |
Examples of css and html codes for elements with #AE21A1 color. Also use rgb(174,33,161) instead hex code.
.myTextColor { color: #AE21A1; }
<p style="color:#AE21A1">This sample text font color is #AE21A1.</p>
This text font color is #AE21A1.
.myBgColor { background-color: #AE21A1; }
<div style="background-color:#AE21A1">Inner text</div>
This div background color is #AE21A1.
.myBorderColor { border: 1px solid #AE21A1; }
<div style="border:3px solid #AE21A1">Div</div>
This div border color is #AE21A1.
.myOpacity80 { color: #AE21A1; opacity: 0.8; }
<p style="color:#AE21A1;opacity:0.8;">80%</p>
Text with #AE21A1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AE21A1;}
<p style="text-shadow: 3px 3px 1px #AE21A1">Text here.</p>
This text has shadow with #AE21A1 color.
.textShadow {text-shadow: 3px 3px 1px #AE21A1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AE21A1, 5px 5px 20px red">Text here.</p>
This text has shadow with #AE21A1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AE21A1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AE21A1, Direction=45, Strength=4)">Text</p>
This text has shadow with #AE21A1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AE21A1; -webkit-box-shadow: 1px 1px 3px 2px #AE21A1; box-shadow: 1px 1px 3px 2px #AE21A1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AE21A1; -webkit-box-shadow: 1px 1px 3px 2px #AE21A1; box-shadow:1px 1px 3px 2px #AE21A1;">
Div content here</div>
This text has color #AE21A1 on black background.
This text has color #AE21A1 on white background.
This text has black color on #AE21A1 background.
This text has white color on #AE21A1 background.