HEX: #A8AFD9
RGB: (168,175,217)
#A8AFD9 contains red, green and blue colors in about the same proportion. Web safe color of #A8AFD9 is #9999CC (or #99C).
#A8AFD9 color RGB value is (168,175,217).
RGB: (168,175,217) (66%,69%,85%)
R 168 of 255 = 66%
G 175 of 255 = 69%
B 217 of 255 = 85%
R + G + B ~ 73%. #A8AFD9 is quite light color.
R + G + B =
168 + 175 + 217 = 560 (100%)
R 168 of 560 ~ 30%
G 175 of 560 ~ 31.25%
B 217 of 560 ~ 38.75%
#A8AFD9 color CMYK value is (23,19,0,15).
CMYK: (23,19,0,15) C23M19Y0K15 (23%,19%,0%,15%) (0.23/0.19/0.00/0.15)
A8 | AF | D9 | |
---|---|---|---|
RGB | 168 | 175 | 217 |
HSL | 231° | 39.20% | 75.49% |
HSB/HSV | 231° | 22.58% | 85.10% |
CMYK | 22.58% | 19.35% | 0.00% |
14.90% |
HEX | A8 | AF | D9 |
Decimal | 168 | 175 | 217 |
Binary | 10101000 | 10101111 | 11011001 |
Octal | 250 | 257 | 331 |
Examples of css and html codes for elements with #A8AFD9 color. Also use rgb(168,175,217) instead hex code.
.myTextColor { color: #A8AFD9; }
<p style="color:#A8AFD9">This sample text font color is #A8AFD9.</p>
This text font color is #A8AFD9.
.myBgColor { background-color: #A8AFD9; }
<div style="background-color:#A8AFD9">Inner text</div>
This div background color is #A8AFD9.
.myBorderColor { border: 1px solid #A8AFD9; }
<div style="border:3px solid #A8AFD9">Div</div>
This div border color is #A8AFD9.
.myOpacity80 { color: #A8AFD9; opacity: 0.8; }
<p style="color:#A8AFD9;opacity:0.8;">80%</p>
Text with #A8AFD9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A8AFD9;}
<p style="text-shadow: 3px 3px 1px #A8AFD9">Text here.</p>
This text has shadow with #A8AFD9 color.
.textShadow {text-shadow: 3px 3px 1px #A8AFD9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A8AFD9, 5px 5px 20px red">Text here.</p>
This text has shadow with #A8AFD9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A8AFD9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A8AFD9, Direction=45, Strength=4)">Text</p>
This text has shadow with #A8AFD9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A8AFD9; -webkit-box-shadow: 1px 1px 3px 2px #A8AFD9; box-shadow: 1px 1px 3px 2px #A8AFD9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A8AFD9; -webkit-box-shadow: 1px 1px 3px 2px #A8AFD9; box-shadow:1px 1px 3px 2px #A8AFD9;">
Div content here</div>
This text has color #A8AFD9 on black background.
This text has color #A8AFD9 on white background.
This text has black color on #A8AFD9 background.
This text has white color on #A8AFD9 background.