HEX: #AA58DC
RGB: (170,88,220)
#AA58DC contains mainly red and blue colors. Web safe color of #AA58DC is #9966CC (or #96C).
#AA58DC color RGB value is (170,88,220).
RGB: (170,88,220) (67%,35%,86%)
R 170 of 255 = 67%
G 88 of 255 = 35%
B 220 of 255 = 86%
R + G + B ~ 63%. #AA58DC is quite light color.
R + G + B =
170 + 88 + 220 = 478 (100%)
R 170 of 478 ~ 35.56%
G 88 of 478 ~ 18.41%
B 220 of 478 ~ 46.03%
#AA58DC color CMYK value is (23,60,0,14).
CMYK: (23,60,0,14) C23M60Y0K14 (23%,60%,0%,14%) (0.23/0.60/0.00/0.14)
AA | 58 | DC | |
---|---|---|---|
RGB | 170 | 88 | 220 |
HSL | 277° | 65.35% | 60.39% |
HSB/HSV | 277° | 60.00% | 86.27% |
CMYK | 22.73% | 60.00% | 0.00% |
13.73% |
HEX | AA | 58 | DC |
Decimal | 170 | 88 | 220 |
Binary | 10101010 | 1011000 | 11011100 |
Octal | 252 | 130 | 334 |
Examples of css and html codes for elements with #AA58DC color. Also use rgb(170,88,220) instead hex code.
.myTextColor { color: #AA58DC; }
<p style="color:#AA58DC">This sample text font color is #AA58DC.</p>
This text font color is #AA58DC.
.myBgColor { background-color: #AA58DC; }
<div style="background-color:#AA58DC">Inner text</div>
This div background color is #AA58DC.
.myBorderColor { border: 1px solid #AA58DC; }
<div style="border:3px solid #AA58DC">Div</div>
This div border color is #AA58DC.
.myOpacity80 { color: #AA58DC; opacity: 0.8; }
<p style="color:#AA58DC;opacity:0.8;">80%</p>
Text with #AA58DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA58DC;}
<p style="text-shadow: 3px 3px 1px #AA58DC">Text here.</p>
This text has shadow with #AA58DC color.
.textShadow {text-shadow: 3px 3px 1px #AA58DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA58DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA58DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA58DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA58DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA58DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA58DC; -webkit-box-shadow: 1px 1px 3px 2px #AA58DC; box-shadow: 1px 1px 3px 2px #AA58DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA58DC; -webkit-box-shadow: 1px 1px 3px 2px #AA58DC; box-shadow:1px 1px 3px 2px #AA58DC;">
Div content here</div>
This text has color #AA58DC on black background.
This text has color #AA58DC on white background.
This text has black color on #AA58DC background.
This text has white color on #AA58DC background.