HEX: #A52BA0
RGB: (165,43,160)
#A52BA0 contains mainly red and blue colors. Web safe color of #A52BA0 is #993399 (or #939).
#A52BA0 color RGB value is (165,43,160).
RGB: (165,43,160) (65%,17%,63%)
R 165 of 255 = 65%
G 43 of 255 = 17%
B 160 of 255 = 63%
R + G + B ~ 48%. #A52BA0 is middle color (not dark and not light).
R + G + B =
165 + 43 + 160 = 368 (100%)
R 165 of 368 ~ 44.84%
G 43 of 368 ~ 11.68%
B 160 of 368 ~ 43.48%
#A52BA0 color CMYK value is (0,74,3,35).
CMYK: (0,74,3,35) C0M74Y3K35 (0%,74%,3%,35%) (0.00/0.74/0.03/0.35)
A5 | 2B | A0 | |
---|---|---|---|
RGB | 165 | 43 | 160 |
HSL | 302° | 58.65% | 40.78% |
HSB/HSV | 302° | 73.94% | 64.71% |
CMYK | 0.00% | 73.94% | 3.03% |
35.29% |
HEX | A5 | 2B | A0 |
Decimal | 165 | 43 | 160 |
Binary | 10100101 | 101011 | 10100000 |
Octal | 245 | 53 | 240 |
Examples of css and html codes for elements with #A52BA0 color. Also use rgb(165,43,160) instead hex code.
.myTextColor { color: #A52BA0; }
<p style="color:#A52BA0">This sample text font color is #A52BA0.</p>
This text font color is #A52BA0.
.myBgColor { background-color: #A52BA0; }
<div style="background-color:#A52BA0">Inner text</div>
This div background color is #A52BA0.
.myBorderColor { border: 1px solid #A52BA0; }
<div style="border:3px solid #A52BA0">Div</div>
This div border color is #A52BA0.
.myOpacity80 { color: #A52BA0; opacity: 0.8; }
<p style="color:#A52BA0;opacity:0.8;">80%</p>
Text with #A52BA0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A52BA0;}
<p style="text-shadow: 3px 3px 1px #A52BA0">Text here.</p>
This text has shadow with #A52BA0 color.
.textShadow {text-shadow: 3px 3px 1px #A52BA0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A52BA0, 5px 5px 20px red">Text here.</p>
This text has shadow with #A52BA0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A52BA0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A52BA0, Direction=45, Strength=4)">Text</p>
This text has shadow with #A52BA0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A52BA0; -webkit-box-shadow: 1px 1px 3px 2px #A52BA0; box-shadow: 1px 1px 3px 2px #A52BA0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A52BA0; -webkit-box-shadow: 1px 1px 3px 2px #A52BA0; box-shadow:1px 1px 3px 2px #A52BA0;">
Div content here</div>
This text has color #A52BA0 on black background.
This text has color #A52BA0 on white background.
This text has black color on #A52BA0 background.
This text has white color on #A52BA0 background.