HEX: #AFB9DC
RGB: (175,185,220)
#AFB9DC contains red, green and blue colors in about the same proportion. Web safe color of #AFB9DC is #99CCCC (or #9CC).
#AFB9DC color RGB value is (175,185,220).
RGB: (175,185,220) (69%,73%,86%)
R 175 of 255 = 69%
G 185 of 255 = 73%
B 220 of 255 = 86%
R + G + B ~ 76%. #AFB9DC is quite light color.
R + G + B =
175 + 185 + 220 = 580 (100%)
R 175 of 580 ~ 30.17%
G 185 of 580 ~ 31.9%
B 220 of 580 ~ 37.93%
#AFB9DC color CMYK value is (20,16,0,14).
CMYK: (20,16,0,14) C20M16Y0K14 (20%,16%,0%,14%) (0.20/0.16/0.00/0.14)
AF | B9 | DC | |
---|---|---|---|
RGB | 175 | 185 | 220 |
HSL | 227° | 39.13% | 77.45% |
HSB/HSV | 227° | 20.45% | 86.27% |
CMYK | 20.45% | 15.91% | 0.00% |
13.73% |
HEX | AF | B9 | DC |
Decimal | 175 | 185 | 220 |
Binary | 10101111 | 10111001 | 11011100 |
Octal | 257 | 271 | 334 |
Examples of css and html codes for elements with #AFB9DC color. Also use rgb(175,185,220) instead hex code.
.myTextColor { color: #AFB9DC; }
<p style="color:#AFB9DC">This sample text font color is #AFB9DC.</p>
This text font color is #AFB9DC.
.myBgColor { background-color: #AFB9DC; }
<div style="background-color:#AFB9DC">Inner text</div>
This div background color is #AFB9DC.
.myBorderColor { border: 1px solid #AFB9DC; }
<div style="border:3px solid #AFB9DC">Div</div>
This div border color is #AFB9DC.
.myOpacity80 { color: #AFB9DC; opacity: 0.8; }
<p style="color:#AFB9DC;opacity:0.8;">80%</p>
Text with #AFB9DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFB9DC;}
<p style="text-shadow: 3px 3px 1px #AFB9DC">Text here.</p>
This text has shadow with #AFB9DC color.
.textShadow {text-shadow: 3px 3px 1px #AFB9DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFB9DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFB9DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFB9DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFB9DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFB9DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFB9DC; -webkit-box-shadow: 1px 1px 3px 2px #AFB9DC; box-shadow: 1px 1px 3px 2px #AFB9DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFB9DC; -webkit-box-shadow: 1px 1px 3px 2px #AFB9DC; box-shadow:1px 1px 3px 2px #AFB9DC;">
Div content here</div>
This text has color #AFB9DC on black background.
This text has color #AFB9DC on white background.
This text has black color on #AFB9DC background.
This text has white color on #AFB9DC background.