HEX: #A72EAA
RGB: (167,46,170)
#A72EAA contains mainly red and blue colors. Web safe color of #A72EAA is #993399 (or #939).
#A72EAA color RGB value is (167,46,170).
RGB: (167,46,170) (65%,18%,67%)
R 167 of 255 = 65%
G 46 of 255 = 18%
B 170 of 255 = 67%
R + G + B ~ 50%. #A72EAA is middle color (not dark and not light).
R + G + B =
167 + 46 + 170 = 383 (100%)
R 167 of 383 ~ 43.6%
G 46 of 383 ~ 12.01%
B 170 of 383 ~ 44.39%
#A72EAA color CMYK value is (2,73,0,33).
CMYK: (2,73,0,33) C2M73Y0K33 (2%,73%,0%,33%) (0.02/0.73/0.00/0.33)
A7 | 2E | AA | |
---|---|---|---|
RGB | 167 | 46 | 170 |
HSL | 299° | 57.41% | 42.35% |
HSB/HSV | 299° | 72.94% | 66.67% |
CMYK | 1.76% | 72.94% | 0.00% |
33.33% |
HEX | A7 | 2E | AA |
Decimal | 167 | 46 | 170 |
Binary | 10100111 | 101110 | 10101010 |
Octal | 247 | 56 | 252 |
Examples of css and html codes for elements with #A72EAA color. Also use rgb(167,46,170) instead hex code.
.myTextColor { color: #A72EAA; }
<p style="color:#A72EAA">This sample text font color is #A72EAA.</p>
This text font color is #A72EAA.
.myBgColor { background-color: #A72EAA; }
<div style="background-color:#A72EAA">Inner text</div>
This div background color is #A72EAA.
.myBorderColor { border: 1px solid #A72EAA; }
<div style="border:3px solid #A72EAA">Div</div>
This div border color is #A72EAA.
.myOpacity80 { color: #A72EAA; opacity: 0.8; }
<p style="color:#A72EAA;opacity:0.8;">80%</p>
Text with #A72EAA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A72EAA;}
<p style="text-shadow: 3px 3px 1px #A72EAA">Text here.</p>
This text has shadow with #A72EAA color.
.textShadow {text-shadow: 3px 3px 1px #A72EAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A72EAA, 5px 5px 20px red">Text here.</p>
This text has shadow with #A72EAA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A72EAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A72EAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #A72EAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A72EAA; -webkit-box-shadow: 1px 1px 3px 2px #A72EAA; box-shadow: 1px 1px 3px 2px #A72EAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A72EAA; -webkit-box-shadow: 1px 1px 3px 2px #A72EAA; box-shadow:1px 1px 3px 2px #A72EAA;">
Div content here</div>
This text has color #A72EAA on black background.
This text has color #A72EAA on white background.
This text has black color on #A72EAA background.
This text has white color on #A72EAA background.