HEX: #A87DBD
RGB: (168,125,189)
#A87DBD contains mainly red and blue colors. Web safe color of #A87DBD is #9966CC (or #96C).
#A87DBD color RGB value is (168,125,189).
RGB: (168,125,189) (66%,49%,74%)
R 168 of 255 = 66%
G 125 of 255 = 49%
B 189 of 255 = 74%
R + G + B ~ 63%. #A87DBD is quite light color.
R + G + B =
168 + 125 + 189 = 482 (100%)
R 168 of 482 ~ 34.85%
G 125 of 482 ~ 25.93%
B 189 of 482 ~ 39.21%
#A87DBD color CMYK value is (11,34,0,26).
CMYK: (11,34,0,26) C11M34Y0K26 (11%,34%,0%,26%) (0.11/0.34/0.00/0.26)
A8 | 7D | BD | |
---|---|---|---|
RGB | 168 | 125 | 189 |
HSL | 280° | 32.65% | 61.57% |
HSB/HSV | 280° | 33.86% | 74.12% |
CMYK | 11.11% | 33.86% | 0.00% |
25.88% |
HEX | A8 | 7D | BD |
Decimal | 168 | 125 | 189 |
Binary | 10101000 | 1111101 | 10111101 |
Octal | 250 | 175 | 275 |
Examples of css and html codes for elements with #A87DBD color. Also use rgb(168,125,189) instead hex code.
.myTextColor { color: #A87DBD; }
<p style="color:#A87DBD">This sample text font color is #A87DBD.</p>
This text font color is #A87DBD.
.myBgColor { background-color: #A87DBD; }
<div style="background-color:#A87DBD">Inner text</div>
This div background color is #A87DBD.
.myBorderColor { border: 1px solid #A87DBD; }
<div style="border:3px solid #A87DBD">Div</div>
This div border color is #A87DBD.
.myOpacity80 { color: #A87DBD; opacity: 0.8; }
<p style="color:#A87DBD;opacity:0.8;">80%</p>
Text with #A87DBD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A87DBD;}
<p style="text-shadow: 3px 3px 1px #A87DBD">Text here.</p>
This text has shadow with #A87DBD color.
.textShadow {text-shadow: 3px 3px 1px #A87DBD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A87DBD, 5px 5px 20px red">Text here.</p>
This text has shadow with #A87DBD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A87DBD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A87DBD, Direction=45, Strength=4)">Text</p>
This text has shadow with #A87DBD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A87DBD; -webkit-box-shadow: 1px 1px 3px 2px #A87DBD; box-shadow: 1px 1px 3px 2px #A87DBD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A87DBD; -webkit-box-shadow: 1px 1px 3px 2px #A87DBD; box-shadow:1px 1px 3px 2px #A87DBD;">
Div content here</div>
This text has color #A87DBD on black background.
This text has color #A87DBD on white background.
This text has black color on #A87DBD background.
This text has white color on #A87DBD background.