HEX: #A97FD6
RGB: (169,127,214)
#A97FD6 contains mainly red and blue colors. Web safe color of #A97FD6 is #9966CC (or #96C).
#A97FD6 color RGB value is (169,127,214).
RGB: (169,127,214) (66%,50%,84%)
R 169 of 255 = 66%
G 127 of 255 = 50%
B 214 of 255 = 84%
R + G + B ~ 67%. #A97FD6 is quite light color.
R + G + B =
169 + 127 + 214 = 510 (100%)
R 169 of 510 ~ 33.14%
G 127 of 510 ~ 24.9%
B 214 of 510 ~ 41.96%
#A97FD6 color CMYK value is (21,41,0,16).
CMYK: (21,41,0,16) C21M41Y0K16 (21%,41%,0%,16%) (0.21/0.41/0.00/0.16)
A9 | 7F | D6 | |
---|---|---|---|
RGB | 169 | 127 | 214 |
HSL | 269° | 51.48% | 66.86% |
HSB/HSV | 269° | 40.65% | 83.92% |
CMYK | 21.03% | 40.65% | 0.00% |
16.08% |
HEX | A9 | 7F | D6 |
Decimal | 169 | 127 | 214 |
Binary | 10101001 | 1111111 | 11010110 |
Octal | 251 | 177 | 326 |
Examples of css and html codes for elements with #A97FD6 color. Also use rgb(169,127,214) instead hex code.
.myTextColor { color: #A97FD6; }
<p style="color:#A97FD6">This sample text font color is #A97FD6.</p>
This text font color is #A97FD6.
.myBgColor { background-color: #A97FD6; }
<div style="background-color:#A97FD6">Inner text</div>
This div background color is #A97FD6.
.myBorderColor { border: 1px solid #A97FD6; }
<div style="border:3px solid #A97FD6">Div</div>
This div border color is #A97FD6.
.myOpacity80 { color: #A97FD6; opacity: 0.8; }
<p style="color:#A97FD6;opacity:0.8;">80%</p>
Text with #A97FD6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A97FD6;}
<p style="text-shadow: 3px 3px 1px #A97FD6">Text here.</p>
This text has shadow with #A97FD6 color.
.textShadow {text-shadow: 3px 3px 1px #A97FD6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A97FD6, 5px 5px 20px red">Text here.</p>
This text has shadow with #A97FD6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A97FD6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A97FD6, Direction=45, Strength=4)">Text</p>
This text has shadow with #A97FD6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A97FD6; -webkit-box-shadow: 1px 1px 3px 2px #A97FD6; box-shadow: 1px 1px 3px 2px #A97FD6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A97FD6; -webkit-box-shadow: 1px 1px 3px 2px #A97FD6; box-shadow:1px 1px 3px 2px #A97FD6;">
Div content here</div>
This text has color #A97FD6 on black background.
This text has color #A97FD6 on white background.
This text has black color on #A97FD6 background.
This text has white color on #A97FD6 background.