HEX: #A52ED2
RGB: (165,46,210)
#A52ED2 contains mainly red and blue colors. Web safe color of #A52ED2 is #9933CC (or #93C).
#A52ED2 color RGB value is (165,46,210).
RGB: (165,46,210) (65%,18%,82%)
R 165 of 255 = 65%
G 46 of 255 = 18%
B 210 of 255 = 82%
R + G + B ~ 55%. #A52ED2 is middle color (not dark and not light).
R + G + B =
165 + 46 + 210 = 421 (100%)
R 165 of 421 ~ 39.19%
G 46 of 421 ~ 10.93%
B 210 of 421 ~ 49.88%
#A52ED2 color CMYK value is (21,78,0,18).
CMYK: (21,78,0,18) C21M78Y0K18 (21%,78%,0%,18%) (0.21/0.78/0.00/0.18)
A5 | 2E | D2 | |
---|---|---|---|
RGB | 165 | 46 | 210 |
HSL | 284° | 64.57% | 50.20% |
HSB/HSV | 284° | 78.10% | 82.35% |
CMYK | 21.43% | 78.10% | 0.00% |
17.65% |
HEX | A5 | 2E | D2 |
Decimal | 165 | 46 | 210 |
Binary | 10100101 | 101110 | 11010010 |
Octal | 245 | 56 | 322 |
Examples of css and html codes for elements with #A52ED2 color. Also use rgb(165,46,210) instead hex code.
.myTextColor { color: #A52ED2; }
<p style="color:#A52ED2">This sample text font color is #A52ED2.</p>
This text font color is #A52ED2.
.myBgColor { background-color: #A52ED2; }
<div style="background-color:#A52ED2">Inner text</div>
This div background color is #A52ED2.
.myBorderColor { border: 1px solid #A52ED2; }
<div style="border:3px solid #A52ED2">Div</div>
This div border color is #A52ED2.
.myOpacity80 { color: #A52ED2; opacity: 0.8; }
<p style="color:#A52ED2;opacity:0.8;">80%</p>
Text with #A52ED2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A52ED2;}
<p style="text-shadow: 3px 3px 1px #A52ED2">Text here.</p>
This text has shadow with #A52ED2 color.
.textShadow {text-shadow: 3px 3px 1px #A52ED2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A52ED2, 5px 5px 20px red">Text here.</p>
This text has shadow with #A52ED2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A52ED2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A52ED2, Direction=45, Strength=4)">Text</p>
This text has shadow with #A52ED2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A52ED2; -webkit-box-shadow: 1px 1px 3px 2px #A52ED2; box-shadow: 1px 1px 3px 2px #A52ED2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A52ED2; -webkit-box-shadow: 1px 1px 3px 2px #A52ED2; box-shadow:1px 1px 3px 2px #A52ED2;">
Div content here</div>
This text has color #A52ED2 on black background.
This text has color #A52ED2 on white background.
This text has black color on #A52ED2 background.
This text has white color on #A52ED2 background.