HEX: #AFA9DC
RGB: (175,169,220)
#AFA9DC contains red, green and blue colors in about the same proportion. Web safe color of #AFA9DC is #9999CC (or #99C).
#AFA9DC color RGB value is (175,169,220).
RGB: (175,169,220) (69%,66%,86%)
R 175 of 255 = 69%
G 169 of 255 = 66%
B 220 of 255 = 86%
R + G + B ~ 74%. #AFA9DC is quite light color.
R + G + B =
175 + 169 + 220 = 564 (100%)
R 175 of 564 ~ 31.03%
G 169 of 564 ~ 29.96%
B 220 of 564 ~ 39.01%
#AFA9DC color CMYK value is (20,23,0,14).
CMYK: (20,23,0,14) C20M23Y0K14 (20%,23%,0%,14%) (0.20/0.23/0.00/0.14)
AF | A9 | DC | |
---|---|---|---|
RGB | 175 | 169 | 220 |
HSL | 247° | 42.15% | 76.27% |
HSB/HSV | 247° | 23.18% | 86.27% |
CMYK | 20.45% | 23.18% | 0.00% |
13.73% |
HEX | AF | A9 | DC |
Decimal | 175 | 169 | 220 |
Binary | 10101111 | 10101001 | 11011100 |
Octal | 257 | 251 | 334 |
Examples of css and html codes for elements with #AFA9DC color. Also use rgb(175,169,220) instead hex code.
.myTextColor { color: #AFA9DC; }
<p style="color:#AFA9DC">This sample text font color is #AFA9DC.</p>
This text font color is #AFA9DC.
.myBgColor { background-color: #AFA9DC; }
<div style="background-color:#AFA9DC">Inner text</div>
This div background color is #AFA9DC.
.myBorderColor { border: 1px solid #AFA9DC; }
<div style="border:3px solid #AFA9DC">Div</div>
This div border color is #AFA9DC.
.myOpacity80 { color: #AFA9DC; opacity: 0.8; }
<p style="color:#AFA9DC;opacity:0.8;">80%</p>
Text with #AFA9DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA9DC;}
<p style="text-shadow: 3px 3px 1px #AFA9DC">Text here.</p>
This text has shadow with #AFA9DC color.
.textShadow {text-shadow: 3px 3px 1px #AFA9DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA9DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA9DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA9DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA9DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA9DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA9DC; -webkit-box-shadow: 1px 1px 3px 2px #AFA9DC; box-shadow: 1px 1px 3px 2px #AFA9DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA9DC; -webkit-box-shadow: 1px 1px 3px 2px #AFA9DC; box-shadow:1px 1px 3px 2px #AFA9DC;">
Div content here</div>
This text has color #AFA9DC on black background.
This text has color #AFA9DC on white background.
This text has black color on #AFA9DC background.
This text has white color on #AFA9DC background.