HEX: #A787BB
RGB: (167,135,187)
#A787BB contains red, green and blue colors in about the same proportion. Web safe color of #A787BB is #9999CC (or #99C).
#A787BB color RGB value is (167,135,187).
RGB: (167,135,187) (65%,53%,73%)
R 167 of 255 = 65%
G 135 of 255 = 53%
B 187 of 255 = 73%
R + G + B ~ 64%. #A787BB is quite light color.
R + G + B =
167 + 135 + 187 = 489 (100%)
R 167 of 489 ~ 34.15%
G 135 of 489 ~ 27.61%
B 187 of 489 ~ 38.24%
#A787BB color CMYK value is (11,28,0,27).
CMYK: (11,28,0,27) C11M28Y0K27 (11%,28%,0%,27%) (0.11/0.28/0.00/0.27)
A7 | 87 | BB | |
---|---|---|---|
RGB | 167 | 135 | 187 |
HSL | 277° | 27.66% | 63.14% |
HSB/HSV | 277° | 27.81% | 73.33% |
CMYK | 10.70% | 27.81% | 0.00% |
26.67% |
HEX | A7 | 87 | BB |
Decimal | 167 | 135 | 187 |
Binary | 10100111 | 10000111 | 10111011 |
Octal | 247 | 207 | 273 |
Examples of css and html codes for elements with #A787BB color. Also use rgb(167,135,187) instead hex code.
.myTextColor { color: #A787BB; }
<p style="color:#A787BB">This sample text font color is #A787BB.</p>
This text font color is #A787BB.
.myBgColor { background-color: #A787BB; }
<div style="background-color:#A787BB">Inner text</div>
This div background color is #A787BB.
.myBorderColor { border: 1px solid #A787BB; }
<div style="border:3px solid #A787BB">Div</div>
This div border color is #A787BB.
.myOpacity80 { color: #A787BB; opacity: 0.8; }
<p style="color:#A787BB;opacity:0.8;">80%</p>
Text with #A787BB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A787BB;}
<p style="text-shadow: 3px 3px 1px #A787BB">Text here.</p>
This text has shadow with #A787BB color.
.textShadow {text-shadow: 3px 3px 1px #A787BB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A787BB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A787BB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A787BB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A787BB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A787BB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A787BB; -webkit-box-shadow: 1px 1px 3px 2px #A787BB; box-shadow: 1px 1px 3px 2px #A787BB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A787BB; -webkit-box-shadow: 1px 1px 3px 2px #A787BB; box-shadow:1px 1px 3px 2px #A787BB;">
Div content here</div>
This text has color #A787BB on black background.
This text has color #A787BB on white background.
This text has black color on #A787BB background.
This text has white color on #A787BB background.