HEX: #A072AA
RGB: (160,114,170)
#A072AA contains red, green and blue colors in about the same proportion. Web safe color of #A072AA is #996699 (or #969).
#A072AA color RGB value is (160,114,170).
RGB: (160,114,170) (63%,45%,67%)
R 160 of 255 = 63%
G 114 of 255 = 45%
B 170 of 255 = 67%
R + G + B ~ 58%. #A072AA is middle color (not dark and not light).
R + G + B =
160 + 114 + 170 = 444 (100%)
R 160 of 444 ~ 36.04%
G 114 of 444 ~ 25.68%
B 170 of 444 ~ 38.29%
#A072AA color CMYK value is (6,33,0,33).
CMYK: (6,33,0,33) C6M33Y0K33 (6%,33%,0%,33%) (0.06/0.33/0.00/0.33)
A0 | 72 | AA | |
---|---|---|---|
RGB | 160 | 114 | 170 |
HSL | 289° | 24.78% | 55.69% |
HSB/HSV | 289° | 32.94% | 66.67% |
CMYK | 5.88% | 32.94% | 0.00% |
33.33% |
HEX | A0 | 72 | AA |
Decimal | 160 | 114 | 170 |
Binary | 10100000 | 1110010 | 10101010 |
Octal | 240 | 162 | 252 |
Examples of css and html codes for elements with #A072AA color. Also use rgb(160,114,170) instead hex code.
.myTextColor { color: #A072AA; }
<p style="color:#A072AA">This sample text font color is #A072AA.</p>
This text font color is #A072AA.
.myBgColor { background-color: #A072AA; }
<div style="background-color:#A072AA">Inner text</div>
This div background color is #A072AA.
.myBorderColor { border: 1px solid #A072AA; }
<div style="border:3px solid #A072AA">Div</div>
This div border color is #A072AA.
.myOpacity80 { color: #A072AA; opacity: 0.8; }
<p style="color:#A072AA;opacity:0.8;">80%</p>
Text with #A072AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A072AA;}
<p style="text-shadow: 3px 3px 1px #A072AA">Text here.</p>
This text has shadow with #A072AA color.
.textShadow {text-shadow: 3px 3px 1px #A072AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A072AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #A072AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A072AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A072AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #A072AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A072AA; -webkit-box-shadow: 1px 1px 3px 2px #A072AA; box-shadow: 1px 1px 3px 2px #A072AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A072AA; -webkit-box-shadow: 1px 1px 3px 2px #A072AA; box-shadow:1px 1px 3px 2px #A072AA;">
Div content here</div>
This text has color #A072AA on black background.
This text has color #A072AA on white background.
This text has black color on #A072AA background.
This text has white color on #A072AA background.