HEX: #A787AA
RGB: (167,135,170)
#A787AA contains red, green and blue colors in about the same proportion. Web safe color of #A787AA is #999999 (or #999).
#A787AA color RGB value is (167,135,170).
RGB: (167,135,170) (65%,53%,67%)
R 167 of 255 = 65%
G 135 of 255 = 53%
B 170 of 255 = 67%
R + G + B ~ 62%. #A787AA is quite light color.
R + G + B =
167 + 135 + 170 = 472 (100%)
R 167 of 472 ~ 35.38%
G 135 of 472 ~ 28.6%
B 170 of 472 ~ 36.02%
#A787AA color CMYK value is (2,21,0,33).
CMYK: (2,21,0,33) C2M21Y0K33 (2%,21%,0%,33%) (0.02/0.21/0.00/0.33)
A7 | 87 | AA | |
---|---|---|---|
RGB | 167 | 135 | 170 |
HSL | 295° | 17.07% | 59.80% |
HSB/HSV | 295° | 20.59% | 66.67% |
CMYK | 1.76% | 20.59% | 0.00% |
33.33% |
HEX | A7 | 87 | AA |
Decimal | 167 | 135 | 170 |
Binary | 10100111 | 10000111 | 10101010 |
Octal | 247 | 207 | 252 |
Examples of css and html codes for elements with #A787AA color. Also use rgb(167,135,170) instead hex code.
.myTextColor { color: #A787AA; }
<p style="color:#A787AA">This sample text font color is #A787AA.</p>
This text font color is #A787AA.
.myBgColor { background-color: #A787AA; }
<div style="background-color:#A787AA">Inner text</div>
This div background color is #A787AA.
.myBorderColor { border: 1px solid #A787AA; }
<div style="border:3px solid #A787AA">Div</div>
This div border color is #A787AA.
.myOpacity80 { color: #A787AA; opacity: 0.8; }
<p style="color:#A787AA;opacity:0.8;">80%</p>
Text with #A787AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A787AA;}
<p style="text-shadow: 3px 3px 1px #A787AA">Text here.</p>
This text has shadow with #A787AA color.
.textShadow {text-shadow: 3px 3px 1px #A787AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A787AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #A787AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A787AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A787AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #A787AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A787AA; -webkit-box-shadow: 1px 1px 3px 2px #A787AA; box-shadow: 1px 1px 3px 2px #A787AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A787AA; -webkit-box-shadow: 1px 1px 3px 2px #A787AA; box-shadow:1px 1px 3px 2px #A787AA;">
Div content here</div>
This text has color #A787AA on black background.
This text has color #A787AA on white background.
This text has black color on #A787AA background.
This text has white color on #A787AA background.