HEX: #A887D0
RGB: (168,135,208)
#A887D0 contains mainly red and blue colors. Web safe color of #A887D0 is #9999CC (or #99C).
#A887D0 color RGB value is (168,135,208).
RGB: (168,135,208) (66%,53%,82%)
R 168 of 255 = 66%
G 135 of 255 = 53%
B 208 of 255 = 82%
R + G + B ~ 67%. #A887D0 is quite light color.
R + G + B =
168 + 135 + 208 = 511 (100%)
R 168 of 511 ~ 32.88%
G 135 of 511 ~ 26.42%
B 208 of 511 ~ 40.7%
#A887D0 color CMYK value is (19,35,0,18).
CMYK: (19,35,0,18) C19M35Y0K18 (19%,35%,0%,18%) (0.19/0.35/0.00/0.18)
A8 | 87 | D0 | |
---|---|---|---|
RGB | 168 | 135 | 208 |
HSL | 267° | 43.71% | 67.25% |
HSB/HSV | 267° | 35.10% | 81.57% |
CMYK | 19.23% | 35.10% | 0.00% |
18.43% |
HEX | A8 | 87 | D0 |
Decimal | 168 | 135 | 208 |
Binary | 10101000 | 10000111 | 11010000 |
Octal | 250 | 207 | 320 |
Examples of css and html codes for elements with #A887D0 color. Also use rgb(168,135,208) instead hex code.
.myTextColor { color: #A887D0; }
<p style="color:#A887D0">This sample text font color is #A887D0.</p>
This text font color is #A887D0.
.myBgColor { background-color: #A887D0; }
<div style="background-color:#A887D0">Inner text</div>
This div background color is #A887D0.
.myBorderColor { border: 1px solid #A887D0; }
<div style="border:3px solid #A887D0">Div</div>
This div border color is #A887D0.
.myOpacity80 { color: #A887D0; opacity: 0.8; }
<p style="color:#A887D0;opacity:0.8;">80%</p>
Text with #A887D0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A887D0;}
<p style="text-shadow: 3px 3px 1px #A887D0">Text here.</p>
This text has shadow with #A887D0 color.
.textShadow {text-shadow: 3px 3px 1px #A887D0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A887D0, 5px 5px 20px red">Text here.</p>
This text has shadow with #A887D0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A887D0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A887D0, Direction=45, Strength=4)">Text</p>
This text has shadow with #A887D0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A887D0; -webkit-box-shadow: 1px 1px 3px 2px #A887D0; box-shadow: 1px 1px 3px 2px #A887D0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A887D0; -webkit-box-shadow: 1px 1px 3px 2px #A887D0; box-shadow:1px 1px 3px 2px #A887D0;">
Div content here</div>
This text has color #A887D0 on black background.
This text has color #A887D0 on white background.
This text has black color on #A887D0 background.
This text has white color on #A887D0 background.