HEX: #A57DAB
RGB: (165,125,171)
#A57DAB contains red, green and blue colors in about the same proportion. Web safe color of #A57DAB is #996699 (or #969).
#A57DAB color RGB value is (165,125,171).
RGB: (165,125,171) (65%,49%,67%)
R 165 of 255 = 65%
G 125 of 255 = 49%
B 171 of 255 = 67%
R + G + B ~ 60%. #A57DAB is middle color (not dark and not light).
R + G + B =
165 + 125 + 171 = 461 (100%)
R 165 of 461 ~ 35.79%
G 125 of 461 ~ 27.11%
B 171 of 461 ~ 37.09%
#A57DAB color CMYK value is (4,27,0,33).
CMYK: (4,27,0,33) C4M27Y0K33 (4%,27%,0%,33%) (0.04/0.27/0.00/0.33)
A5 | 7D | AB | |
---|---|---|---|
RGB | 165 | 125 | 171 |
HSL | 292° | 21.50% | 58.04% |
HSB/HSV | 292° | 26.90% | 67.06% |
CMYK | 3.51% | 26.90% | 0.00% |
32.94% |
HEX | A5 | 7D | AB |
Decimal | 165 | 125 | 171 |
Binary | 10100101 | 1111101 | 10101011 |
Octal | 245 | 175 | 253 |
Examples of css and html codes for elements with #A57DAB color. Also use rgb(165,125,171) instead hex code.
.myTextColor { color: #A57DAB; }
<p style="color:#A57DAB">This sample text font color is #A57DAB.</p>
This text font color is #A57DAB.
.myBgColor { background-color: #A57DAB; }
<div style="background-color:#A57DAB">Inner text</div>
This div background color is #A57DAB.
.myBorderColor { border: 1px solid #A57DAB; }
<div style="border:3px solid #A57DAB">Div</div>
This div border color is #A57DAB.
.myOpacity80 { color: #A57DAB; opacity: 0.8; }
<p style="color:#A57DAB;opacity:0.8;">80%</p>
Text with #A57DAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A57DAB;}
<p style="text-shadow: 3px 3px 1px #A57DAB">Text here.</p>
This text has shadow with #A57DAB color.
.textShadow {text-shadow: 3px 3px 1px #A57DAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A57DAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A57DAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A57DAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A57DAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A57DAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A57DAB; -webkit-box-shadow: 1px 1px 3px 2px #A57DAB; box-shadow: 1px 1px 3px 2px #A57DAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A57DAB; -webkit-box-shadow: 1px 1px 3px 2px #A57DAB; box-shadow:1px 1px 3px 2px #A57DAB;">
Div content here</div>
This text has color #A57DAB on black background.
This text has color #A57DAB on white background.
This text has black color on #A57DAB background.
This text has white color on #A57DAB background.